diff --git a/.github/workflows/build_and_deploy.yml b/.github/workflows/build_and_deploy.yml new file mode 100644 index 0000000..a971301 --- /dev/null +++ b/.github/workflows/build_and_deploy.yml @@ -0,0 +1,18 @@ +name: Gatsby Publish + +on: + workflow_dispatch: + schedule: + - cron: "0 0 * * *" + push: + branches: + - main + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: enriikke/gatsby-gh-pages-action@v2 + with: + access-token: ${{ secrets.ACCESS_TOKEN }}