#author("2022-06-29T00:49:47+00:00","default:admin","admin")
編集中
#author("2022-06-29T01:59:45+00:00","default:admin","admin")
[[GitHub Actions:https://github.co.jp/features/actions]]

-[[ドキュメント:https://docs.github.com/ja/actions]]
-[[GitHub Actionsの支払いについて:https://docs.github.com/ja/billing/managing-billing-for-github-actions/about-billing-for-github-actions#]]

-[[JenkinsからGitHub Actionsへの移行:https://docs.github.com/ja/enterprise-server@3.4/actions/migrating-to-github-actions/migrating-from-jenkins-to-github-actions]]

-[[Git Hub Actions入門:https://zenn.dev/hashito/articles/7c292f966c0b59]]
-[[新 GitHub Actions 入門:https://www.kaizenprogrammer.com/entry/2019/08/18/205010]]
-[[Github Actions 2年使ってみてわかったことまとめ:https://qiita.com/bigwheel/items/2ab7deb237122db2fb8d]]
-[[Web 開発者のための GitHub Actions 入門:https://fwywd.com/tech/introduction-to-github-actions]]

-[[GitHubの新機能「GitHub Actions」で試すCI/CD:https://knowledge.sakura.ad.jp/23478/]]
-[[Git Hub Actions入門:https://zenn.dev/hashito/articles/7c292f966c0b59]]
-[[GitHub Actionsの手動実行パラメータのUI改善について速報で解説する:https://zenn.dev/kesin11/articles/13ca0f40e1eaa0]]
-[[GitHub Actions上で独自のワークフローを構築しやすくするための仕組み:https://tech.pepabo.com/2021/12/25/your-own-workflows-on-github-actions/]]
-[[Web 開発者のための GitHub Actions 入門:https://fwywd.com/tech/introduction-to-github-actions]]
-[[GitHub Actionsでデプロイを並列に実行させてCI/CDを高速化してみた:https://dev.classmethod.jp/articles/github-actions-parallel-deploy/]]
-[[入門 GitHub Actions:https://tech.medpeer.co.jp/entry/2021/06/24/100000]]
-[[Github Actionsのご紹介:https://techmagic.co.jp/blog220412/]]
-[[GitHub Actionsの共通したアクションを切り出してシンプルに保つ:https://zenn.dev/stafes/articles/ikkitang-a694b8afeb66f5]]
-[[[入門]GitHub Actions ~全てのエンジニアのための備忘録~:https://selfnote.work/20220109/programming/begginer-github-actions/]]
-[[【入門】Github Actionsとは? 簡単なチュートリアルを用いて解説:https://mo-gu-mo-gu.com/about-basic-github-actions/]]

-[[GitHub ActionsでPostman + NewmanのAPIテストを実行してみた:https://dev.classmethod.jp/articles/postman_newman_githubactions/]]
-[[GitHub Actionsに導かれし、CircleCI使いの者たちのための導きの書:https://zenn.dev/nus3/articles/44977a5ea4d6cd]]
-[[GitHub Actionsに魅了されてしまいました:https://dev.icare.jpn.com/dev_cat/intro_github_actions/]]
-[[GitHub Actionsは商用システムのCI/CDツールとして使えるか?!:https://www.ariseanalytics.com/activities/report/20201225/]]

**課金体系 [#q36dbe04]
-[[GitHub Actionsの支払いについて:https://docs.github.com/ja/billing/managing-billing-for-github-actions/about-billing-for-github-actions#]]
-[[GitHub Actions の利用状況の確認と無料枠の上限に達した場合の対処方法:https://blog.beachside.dev/entry/2021/09/27/190000]]

**[[build matrix:https://docs.github.com/en/actions/using-jobs/using-a-build-matrix-for-your-jobs]] [#b4660d20]

**workflow_dispatch [#q18fb15c]
-workflow_dispatch はワークフローのトリガーの一種で、ワークフローを任意に手動で起動することができる

-ブラウザ(GitHubのリポジトリのページ)から操作できる
-ワークフローを実行するブランチを指定できる
-実行時にパラメータを渡すことができる
-REST API からでも利用できる

***用途 [#r6cc33f9]
-クラウド上(AWS等)の開発環境へのデプロイ
--本番環境であれば main ブランチへの push をトリガーにデプロイのジョブを実行すればよい
--一方、開発環境は任意の feature ブランチを任意のタイミングでデプロイできると便利
--workflow_dispatch はワークフロー実行時にブランチを選択できるため、好きなブランチを好きなタイミングでデプロイするということが容易に実現できる

-ワークフロー自体のデバッグの用途
--schedule トリガー(cron)のワークフローのjobの動作確認をするために、わざわざ設定した時間になるのを待って確認するのは手間
--そういう場合に、workflow_dispatch トリガーも設定することで、任意にワークフローを走らせることが可能

*ワークフロー [#rd07528b]
-[[Github Actionsの使い方メモ:https://qiita.com/HeRo/items/935d5e268208d411ab5a]]
-[[GitHub Actions のワークフローファイルを共通化した話:https://tech.speee.jp/entry/terraform-reusable-workflow]]
-[[GitHub Actions のベストプラクティス:https://zenn.dev/snowcait/scraps/9d9c47dc4d0414]]

**処理の連鎖 [#o0e1b7a5]
-[[GitHub ActionsでWorkFlowやJobを連鎖させる方法:https://qiita.com/masato_makino/items/f8cf20f3d0025d15bac8]]

***依存Job [#xd797089]

***workflow_runトリガー [#n15d9ef7]
-[[GitHub Actionsのworkflow_runトリガーを試してみる:https://zenn.dev/kitoketa/articles/28675c5eb1d0fb]]

 on:
   workflow_run:
     workflows: ["Build"]
     types: [completed]
 
 jobs:
   on-success:
     runs-on: ubuntu-latest
     if: ${{ github.event.workflow_run.conclusion == 'success' }}
     steps:

*PHP [#x62fe427]
-[[【PHP版】CI(継続的インテグレーション)ツール導入ガイド:第1回 CIの概要:https://tracpath.com/bootcamp/ci/php_tutorial_1.html]]
-[[【PHP版】CI(継続的インテグレーション)ツール導入ガイド:第2回 さまざまなジョブ:https://tracpath.com/bootcamp/ci/php_tutorial_2.html]]
-[[【PHP版】CI(継続的インテグレーション)ツール導入ガイド:第3回 さまざまなジョブ(1):https://tracpath.com/bootcamp/ci/php_tutorial_3.html]]
-[[【PHP版】CI(継続的インテグレーション)ツール導入ガイド:第4回 さまざまなジョブ (2):https://tracpath.com/bootcamp/ci/php_tutorial_4.html]]

-[[GitHub ActionsでLaravelプロジェクトのCI・CD環境を構築する:https://maasaablog.com/development/git/github/github-actions/2054/]]
-[[GitHub Actionsで超基本的なCI環境を構築する(PHP):https://maasaablog.com/development/git/github/github-actions/1725/]]
-[[GitHub Actionsで超基本的なCD環境を構築する(PHP):https://maasaablog.com/development/git/github/github-actions/1733/]]
-[[GitHub Actions で PHP の CI/CD をする:https://qiita.com/nanasess/items/09b0798eb878328b195f]]

-[[【GitHub Actions】LaravelのCI環境を作ってみた:https://note.com/deliku0306/n/n2eeaa8a08187]]
-[[GitHub ActionsでLaravelプロジェクトをデプロイする:https://cloudpack.media/56486]]
-[[GitHub ActionsでLaravelプロジェクトをCI/CDする:https://zenn.dev/tokku5552/articles/laravel-github-actions]]
-[[GitHub ActionsでLaravelのテストを実行する際にRedisと接続する方法【PHPUnit】:https://www.engilaboo.com/github-actions-connect-redis/]]
-[[【Laravel + PHPUnit】Unit・Featureテストを実装してGitHubActionsでCI/CD環境を構築する話:https://zenn.dev/naonao70/articles/7be1dba7b7f758]]
-[[そこそこ巨大な Laravel の Unit test を Github Actions で出来るだけ早く回すためにやっていること:https://fortee.jp/phperkaigi-2022/proposal/17039ab7-76ed-451a-98fb-36e89a779f40]]
-[[GitHub Actions をローカルマシンで実行する(PHP 編):https://zenn.dev/shogogg/articles/ea9b3c49560782251c6d]]

-[[Github Actions を使った PHP の静的解析:https://qiita.com/ss_koishi/items/67b22a3238bee2cb0b2d]]
-[[GitHub Actions を使って静的コード解析を行うのがとても便利:https://sterfield.co.jp/blog/development/github-actions-%E3%82%92%E4%BD%BF%E3%81%A3%E3%81%A6%E9%9D%99%E7%9A%84%E3%82%B3%E3%83%BC%E3%83%89%E8%A7%A3%E6%9E%90%E3%82%92%E8%A1%8C%E3%81%86%E3%81%AE%E3%81%8C%E3%81%A8%E3%81%A6%E3%82%82%E4%BE%BF/]]

**PHPUnit [#a68449ec]
-[[GitHub ActionsでPHPUnitを実行する:https://qiita.com/blue32a/items/0661d70216051ad6552d]]
-[[phpunitをGitHubActionsで行うCI/CD環境の構築方法:https://zenn.dev/naonao70/articles/44bc859c3ebc37]]
-[[GitHub Actionsを使ってLaravelアプリケーションをCI/CDする:https://www.seeds-std.co.jp/blog/creators/2020-08-19-233031/]]

**[[octcov:https://github.com/k1LoW/octocov]] [#qf20c3b9]
-[[GitHub Actions Deep Dive using PHP:https://speakerdeck.com/k1low/phperkaigi-2022]]

**[[cs2pr:https://github.com/staabm/annotate-pull-request-from-checkstyle]] [#c25761b9]
-[[GitHub Actions使っていますか?では、cs2prも一緒にいかがですか?:https://fortee.jp/phperkaigi-2022/proposal/0ced67d5-5b91-476c-8afb-6135ebdb9b38]]

*.NET [#c7c9e07d]
-[[GitHub Actions を使用して .NET Web アプリをビルドする:https://docs.microsoft.com/ja-jp/dotnet/architecture/devops-for-aspnet-developers/actions-build]]

*デプロイ [#c4fba241]
**AWS [#mfc68f86]
***IP制限 [#zdd33a04]
-[[GitHubのIPアドレスについて:https://docs.github.com/ja/authentication/keeping-your-account-and-data-secure/about-githubs-ip-addresses]]
-[[GitHub ActionsでSrc IP制限のかかったサービス(AWS RDS)につなぐ:https://qiita.com/fetaro/items/45f94a50316463cf093d]]

***Elastic Beanstalk [#g591c7d9]
-[[github ActionsとElasticBeanstalkで自動デプロイ環境を作る:https://ito-u-oti.com/github-actions-elasticbeanstalk-cicd/]]
-[[Github Actionsでeb cliを使いたい:https://qiita.com/rihofujino/items/4251b5e484f3bfc57b0e]]

**sakura [#va86a78a]
***SSH [#bdd2a214]
-[[【GitHub】リモートリポジトリへのpushを自動でサーバに反映させる方法【自動デプロイ】:https://dol.co.jp/archives/column/%E3%80%90github%E3%80%91push%E3%82%92%E8%87%AA%E5%8B%95%E3%81%A7%E9%96%8B%E7%99%BA%E7%92%B0%E5%A2%83%E3%81%AB%E5%8F%8D%E6%98%A0%E3%81%95%E3%81%9B%E3%82%8B%E6%96%B9%E6%B3%95%E3%80%90%E8%87%AA%E5%8B%95]]
-[[GitHub ActionsでSpringBootアプリをさくらVPSにSSHしてデプロイする:https://qiita.com/Captain_Blue/items/077cf7895c74b5d4fc40]]
-[[-[[さくらサーバー – Laravel~デプロイ:http://taustation.com/sakura-laravel-deploy/]]

***FTP [#z971c568]
-[[さくらレンタルサーバーでも自動デプロイがしたい!【GitHubActions】:https://zenn.dev/mamezou/articles/23a221c7287cf6]]
-[[github actionsを使用して自動デプロイ。さくらサーバーver:https://zenn.dev/hirof1990/scraps/43355a4da2172d]]
-[[github actionsを用いたFTP自動デプロイ。(例:さくらサーバー):https://zenn.dev/hirof1990/articles/2f8eeab56b8637]]

*移行事例 [#r6886292]
-[[Terraform の CI を AWS CodeBuild から GitHub Actions + tfaction に移行しました:https://blog.studysapuri.jp/entry/2022/02/04/080000]]
-[[GitHub ActionsでRuby on RailsのCI環境を構築する上でのポイント:https://tech.hey.jp/entry/2021/05/21/134001]]
-[[CircleCIで構築されたCI/CD環境をGitHub Actionsに移行した際のポイント:https://tech.buysell-technologies.com/entry/adventcalendar2021-12-05]]
-[[CI/CD ConferenceからサイバーエージェントのCI/CDツール開発のセッションを紹介:https://thinkit.co.jp/article/18874]]
-[[リーン開発を実現するため、「みらい翻訳」が取り組む、マイクロサービス化とデプロイ改善【デブサミ2022】:https://codezine.jp/article/detail/15701]]


トップ   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS