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 に入門しました
Search
Doarakko
February 25, 2021
Programming
1.4k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
GitHub Actions に入門しました
Doarakko
February 25, 2021
More Decks by Doarakko
See All by Doarakko
Cloudflare Workers で X(Twitter)のボットを作ってみた
doarakko
0
340
Vercel Edge Functions を使って作る画像メーカー
doarakko
0
96
JOIN して1ヶ月のエンジニアに聞いた Liiga の良いところ 3 選
doarakko
0
92
わんわおーん
doarakko
0
78
職場を明るくする
doarakko
0
350
コードレビューの時間を削減しました
doarakko
0
120
仕事中に隠れてテレビ番組表を見るぞ
doarakko
0
230
GitHub Project の運用を自動化しました
doarakko
0
140
積ん読を消化するために
doarakko
0
1.3k
Other Decks in Programming
See All in Programming
Workers Cache を知る
syumai
0
330
モバイル交通系ICへのチャージ実例から考える、クロスプラットフォーム開発におけるiOS実機テスト設計とCI運用
yusuga
1
580
Turning Architecture into Unit Tests in the AI Era (NSSpain XIV)
steliosf
PRO
1
130
AWSに止められる覚悟してますか?
morizo_1984
2
510
C#の現在地 進化の歴史と、AI時代の.NET Everywhere
neuecc
5
4.9k
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
440
CodeRabbitの効果検証と過ごしてみた3ヶ月
armondando
0
130
仕様駆動開発による爆速プロダクト開発 / Bakusoku Spec Driven Development
kobakei
0
170
Agentic Software Factoryに、すごく賢いIF文を。 / super smart IF statement into the Agentic Software Factory.
rkaga
7
1.8k
プロダクトコードからライブラリの境界を見つける
elmetal
PRO
0
100
【加筆修正版】Laravel のアプリケーションをどこにデプロイするか #phpcon_ehime
akase244
0
150
なぜCTOを降りてFDEを選んだのか?〜なぜプロダクト企業がFDEで顧客の現場に踏み込むのか〜
gonta
1
150
Featured
See All Featured
Thoughts on Productivity
jonyablonski
76
5.4k
The Spectacular Lies of Maps
axbom
PRO
1
1.1k
Agile that works and the tools we love
rasmusluckow
331
22k
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
760
The SEO Collaboration Effect
kristinabergwall1
1
590
Discover your Explorer Soul
emna__ayadi
2
1.3k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
610
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
920
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
300
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
340
Transcript
GitHub Actions に入門しました @Doarakko
・2019年12月入社(2社目) ・エンジニア歴1.5年 - 仕事: Go, PHP - 趣味: Python, C++
・AtCoder 緑 ・海外サッカーをよく見ます 自己紹介 2
・GitHub が提供する CI/CD サービス ・CircleCI、TravisCI などと同じもの ・ビルド、テスト、デプロイを自動化したり GitHub Actions とは
3
GitHub Actions の特徴 4 ・安い(はず) - 人数課金(CircleCI)ではなく実行時間による課金制 ・いろいろな Action が公開されている(他も個人ブログ等で公開はされている)
・GitHub の操作が簡単に行える
いろいろなアクションが公開されている 5 🍎 自分が作った Action を公開するのも超簡単!
GitHub の操作が簡単に行える 6 例:タイトルに「コミュニティ」が含まれていたらラベルを自動でつける 🍍github-scripts:YAML 内に JS を記述できて GitHub の操作が簡単に行える
Action 自作の Action を JS で作る場合
GitHub Actions in 外資就活ドットコム 7
チームごとに通知する Slack チャネルを分ける 8 🍊 GitHubのissue管理をいい感じにしたい チームラベルで判定する
アプリのリリースノートを自動生成 9 🤖 今回のリリースで何が修正されるのか手作業で確認している(はず)
Peter Botman 解雇 10 🍎 CoffeeScript を書かなくても大丈夫!
いろいろなことができそう🤔 11
遊戯王カードをドローする GitHub Action を作りました 12
遊戯王カードをドローするまでの流れ 13 1. issue に「ドロー」とコメント 2. issue へのコメントをトリガーに workflow 起動
3. コメント本文に「ドロー」が含まれているときのみ Action を実行 4. 遊戯王 API(非公式)にリクエストを送って画像 URL を取得 5. 対象の issue に Markdown 形式で画像を URL を貼る 💡 遊戯王 API by YGOPRODeck:https://db.ygoprodeck.com/api-guide/
YAML と JavaScript をちょっと書くだけ 14 💡 公式チュートリアルが非常に分かりやすい
俺のターン!ドロー!! 15