Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
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
320
Vercel Edge Functions を使って作る画像メーカー
doarakko
0
89
JOIN して1ヶ月のエンジニアに聞いた Liiga の良いところ 3 選
doarakko
0
89
わんわおーん
doarakko
0
76
職場を明るくする
doarakko
0
330
コードレビューの時間を削減しました
doarakko
0
110
仕事中に隠れてテレビ番組表を見るぞ
doarakko
0
220
GitHub Project の運用を自動化しました
doarakko
0
120
積ん読を消化するために
doarakko
0
1.3k
Other Decks in Programming
See All in Programming
LLM Plugin for Node-REDの利用方法と開発について
404background
0
170
Technical Debt: Understanding it Rightly, Engaging it Rightly #LaravelLiveJP
shogogg
0
210
Dataformのリポジトリを立ち上げるときにまずやること / dataform-day0-2026
snhryt
0
150
過去最大のMCPアップデート! 2026-07-28 RC版の謎に迫る
licux
6
240
ECSアプリログをFireLensでコスト削減しようとしたけど諦めた話 in Fargate×Node.js
akihisaikeda
2
4k
フロントエンドとバックエンドで「1文字」を揃えよう
youkidearitai
PRO
0
260
依存関係から依存物へ―Dependencyという言葉の歴史をひも解く
j_lee
0
110
The ROI of Quarkus for Spring Boot Applications
hollycummins
0
110
コンテキストの使い捨てをやめる — ビジネスルール駆動開発と miko —
ioki
0
190
メソッドのジェネリクスでGoの夢は広がるか? / Kyoto.go #65
utgwkk
3
680
Modding RubyKaigi for Myself
yui_knk
0
920
Why Laravel apps break—Mastering the fundamentals to keep them maintainable
kentaroutakeda
1
350
Featured
See All Featured
Odyssey Design
rkendrick25
PRO
2
690
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
390
What does AI have to do with Human Rights?
axbom
PRO
1
2.2k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
330
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
0
1.7k
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
140
Being A Developer After 40
akosma
91
590k
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
280
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.3k
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
170
Utilizing Notion as your number one productivity tool
mfonobong
4
320
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.3k
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