Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
GitHub ActionsでZennの記事を限定公開する
Search
M-Yamashita
May 11, 2022
Programming
1.1k
3
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
GitHub ActionsでZennの記事を限定公開する
Fukuoka.rb 0x100 回 LT 大会 (#256)での登壇資料です。
https://fukuokarb.connpass.com/event/245647/
M-Yamashita
May 11, 2022
More Decks by M-Yamashita
See All by M-Yamashita
ツールを超えた「共通言語」へ 開発とSREがDatadogを囲んで信頼を育てる 継続的かつ地道な実践
myamashii
0
450
アクセスピークを制するオートスケール再設計: 障害を乗り越えKEDAで実現したリソース管理の最適化
myamashii
3
3.9k
継続的な活動で築く地方エンジニアの道
myamashii
2
770
テストの高速化と品質保証の第一歩 GitHub ActionsとRSpecの基本入門
myamashii
1
740
Contributionとカンファレンス登壇への 背中を押して頂いた方々へ
myamashii
1
2.1k
はてなブログ作成から投稿までをGitHub Actionsで自動化する
myamashii
3
1.4k
Webサービス開発者としてスタートしてからOSS Contributionまでの道のり
myamashii
0
890
Fukuoka.rb 2020年度活動報告
myamashii
0
890
OSS Contributionから感じたこと
myamashii
0
520
Other Decks in Programming
See All in Programming
Workers Cache を知る
syumai
0
340
mrbgem 三角測量 開発
ogom
0
210
個人開発者よ、Honoを使え(おじさんver)
tanahiro2010
2
120
ハーネス設計入門 〜 基礎知識の整理から実務へのステップアップ 〜
kinopeee
21
21k
Herb in Rails 8.2: Your ERB views, now HTML-aware @ Rails World 2026, Austin, Texas
marcoroth
0
190
UPDATE をやめる — EF Core でマスタをバージョン管理する
panda728
PRO
0
1.2k
外から家のPCの電源入れたい!をPHPで解決する
kawashimo0
1
120
AWS CDKのカスタムリソースでContinuum(旧Security Agent)を実装した話 | Implementing Continuum (formerly Security Agent) via AWS CDK Custom Resource
akihisaikeda
2
140
Agentic Software Factoryに、すごく賢いIF文を。 / super smart IF statement into the Agentic Software Factory.
rkaga
8
2k
contenteditable と日本語入力に向き合う
colorful12
0
170
RAG の “R” を Swift で覗いてみる 〜「意味から探す」検索の仕組み〜
nao_randd
0
120
パーソナライズPodcastを作った話
repunit11
0
130
Featured
See All Featured
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.2k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
6
1.2k
How to Talk to Developers About Accessibility
jct
2
560
Skip the Path - Find Your Career Trail
mkilby
1
250
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
69
66k
HTML-Aware ERB: The Path to Reactive Rendering @ RubyCon 2026, Rimini, Italy
marcoroth
5
780
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.6k
Information Architects: The Missing Link in Design Systems
soysaucechin
1
1.2k
Design in an AI World
tapps
1
350
Exploring anti-patterns in Rails
aemeredith
4
520
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.6k
A designer walks into a library…
pauljervisheath
211
25k
Transcript
2022-05-11 Fukuoka.rb 0x100 ճ LT େձ GitHub ActionsͰZennͷهࣄΛݶఆެ։͢Δ M-Yamashita
ࣗݾհ • ࢁԼ խਓ • όοΫΤϯυΤϯδχΞ@Ԭ • ࣄͷRailsྺ: 2ఔ •
GitHub: @M-Yamashita01 • Twitter: @M_Yamashii
͢͜ͱ GitHub Actions + Cloud RunͰ ZennͷهࣄΛݶఆެ։͢Δ
ॻ͍ͨهࣄΛಛఆͷਓ͚ͨͪͩʹݟ͍ͤͨʂ ͦΜͳܦݧ͋Γ·ͤΜ͔ʁ ͬͦ͘͞Ͱ͕͢
ࢲ࠷ۙͦͷܦݧʹग़ձ͍·ͨ͠
• ओʹZennΛ͍RubyRailsͳͲʹؔ͢ΔهࣄΛΞοϓ͖ͯͨ͠ • Zennʹߘ͖ͯͨ͠هࣄɺެࣜαΠτެ։͞Ε͍ͯΔใ͔Β ݸਓͰௐࠪ͠·ͱΊͨͷ͕΄ͱΜͲ ࠓ·Ͱ
• ٕज़هࣄͷࣥචʹ͋ͨΓɺଞͷํʹެࣜϦϑΝϨϯεʹؔ͢Δ࣭Λͯ͠ ճΛ͍ͨ • ZennͰهࣄΛॻ্͖͕͛ͨɺެ։લʹΞυόΠεΛͯ͘͠Εͨਓ͚ͩʹ ؒҧ͍ͳ͍͔ݟͯΒ͍͍ͨ • Zennʹݶఆެ։ͷػೳ͕ͳͦ͞͏ʢ2022/05/03 ຊࢿྉ࡞࣌ʣ ͖͔͚ͬ
Ͳ͏ʹ͔ͯ͠ݶఆެ։Ͱ͖ͳ͍͔ʁ
ࣗͷଞʹݶఆެ։Λߟ͑ͨਓ͕͍Δͣ
None
https://zenn.dev/e_koma/articles/20210104-zenn-preview
͜Εͩʂ
ͲΜͳํ๏͔ʁ
લఏɿZennͷCLI͔ΒϓϨϏϡʔΛදࣔ ~/xxxxx/M-Yamashita01/zenn-article ❯ npx zenn preview 👀 Preview: http://localhost:8000
հ͞Ε͍ͯͨݶఆެ։ͷํ๏ Container Registry Cloud Run Push Image Deploy Use Image
Access Docker fi le ENTRYPOINT ["npx", "zenn", "preview"] https://xxxxx.a.run.app
ΊͬͪΌศརͦ͏ʂ
͜ͷํ๏Λͬͨͱ͖ʹ ՝͕͍͔ͭ͘ग़͖ͯͨ
• ෳͷίϚϯυΛखಈ࣮ߦ͢Δͷख͕͔͔ؒΔ • ZennͱGitHubΛ࿈ܞࡁΈͳͷͰɺهࣄ࡞ͷPull RequestΛτϦΨʔʹ ϓϨϏϡʔΛݟ͍ͨ • ϓϨϏϡʔʹͬͨCloud RunͷαʔϏείϯςφΠϝʔδͷফ͠ΕΛ ආ͚͍ͨ
՝
ղܾͰ͖ΔΑ ͦ͏ɺGitHub ActionsͳΒͶ
ߏ Container Registry Cloud Run Push article Deploy Access GitHub
Actions Pull Request Push image Use Image https://xxxxx.a.run.app Post preview url
• Pull RequestͷopenɺpushʹΑΔߋ৽ • طଘͷίϯςφΠϝʔδɺCloud RunͷαʔϏεΛআ • Container RegistryΠϝʔδϓογϡɺCloud RunʹσϓϩΠ
• σϓϩΠྃޙʹϓϨϏϡʔͷURLΛPull Requestʹߘ • Pull Request close • طଘͷίϯςφΠϝʔδɺCloud RunͷαʔϏεΛআ ϫʔΫϑϩʔ
ಈ࡞݁Ռ (Pull Request open)
͋Γ͕ͱ͏͍͟͝·ͨ͠ʂ