update gh workflow

This commit is contained in:
slashformotion 2021-07-28 10:47:38 +02:00
parent b2abcdaebe
commit 57bfc0886d

View file

@ -7,7 +7,10 @@ on:
jobs: jobs:
deploy: deploy:
runs-on: ubuntu-18.04 runs-on: ubuntu-latest
defaults:
run:
working-directory: ./exampleSite
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with: with:
@ -25,7 +28,6 @@ jobs:
- name: Deploy - name: Deploy
uses: peaceiris/actions-gh-pages@v3 uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/master'
with: with:
github_token: ${{ secrets.GH_TOKEN }} github_token: ${{ secrets.GH_TOKEN }}
publish_dir: ./public publish_dir: ./exampleSite/public