Created
November 21, 2019 20:42
-
-
Save iganari/e79f80cd13340642913418a3b1ec16f5 to your computer and use it in GitHub Desktop.
master ブランチにコミットがあった場合に、 modify-readme-only ブランチにて、 master ブランチの pull を GitHub Actions で行う自分用スクリプト
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branchs: | |
- master | |
- feature/add-actions-yaml # For test branch | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Run a one-line script | |
run: echo Hello, world! | |
- name: Run a multi-line script | |
env: | |
SECRET_VARIABLE: ${{ secrets.VAR_TEST }} | |
run: | | |
echo Add other actions to build, | |
echo test, and deploy your project. | |
echo ${VAR_TEST} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment