Skip to content

Instantly share code, notes, and snippets.

@lannonbr
Created November 5, 2019 01:17
Show Gist options
  • Save lannonbr/0f86cf6f41196c09e1e238d80214f57b to your computer and use it in GitHub Desktop.
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
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