Skip to content

Instantly share code, notes, and snippets.

@Deborah-Digges
Last active October 4, 2020 17:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Deborah-Digges/6e4f6572b7e75925ed8aa3f5411cbcc8 to your computer and use it in GitHub Desktop.
Save Deborah-Digges/6e4f6572b7e75925ed8aa3f5411cbcc8 to your computer and use it in GitHub Desktop.
gatsby-publish-workflow
name: Gatsby Publish
on:
push:
branches:
master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: enriikke/gatsby-gh-pages-action@v2
with:
access-token: ${{ secrets.ACCESS_TOKEN }}
deploy-branch: gh-pages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment