Created
November 5, 2019 01:17
-
-
Save lannonbr/0f86cf6f41196c09e1e238d80214f57b to your computer and use it in GitHub Desktop.
GitHub Actions example of doing a build on push excluding when changes are made in the .github folder
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: Build on push | |
on: | |
push: | |
paths-ignore: | |
- ".github/**" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Build | |
run: | | |
yarn | |
yarn build |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment