Skip to content

Updating gh-pages workflow #145

Updating gh-pages workflow

Updating gh-pages workflow #145

Workflow file for this run

name: Gatsby Publish
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: set environment variables
uses: allenevans/[email protected]
with:
DB_PASS: ${{ secrets.DB_PASS }}
DB_USER: ${{ secrets.DB_USER }}
GOOGLE_ANALYTICS_ID: ${{ secrets.GOOGLE_ANALYTICS_ID }}
HOST: ${{ secrets.HOST }}
GATSBY_AIRTABLE_API_KEY: ${{ secrets.GATSBY_AIRTABLE_API_KEY }}
GATSBY_AIRTABLE_API_BASE: ${{ secrets.GATSBY_AIRTABLE_API_BASE }}
- uses: actions/checkout@v2
- uses: enriikke/gatsby-gh-pages-action@v2
with:
access-token: x-access-token:${{ secrets.ACCESS_TOKEN }}
deploy-branch: gh-pages
gatsby-args: --prefix-paths