mirror of
https://github.com/loikein/hugo-tufte.git
synced 2024-12-23 13:59:44 +01:00
update gh workflow
This commit is contained in:
parent
b2abcdaebe
commit
57bfc0886d
1 changed files with 5 additions and 3 deletions
8
.github/workflows/build-site.yml
vendored
8
.github/workflows/build-site.yml
vendored
|
@ -7,7 +7,10 @@ on:
|
|||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-18.04
|
||||
runs-on: ubuntu-latest
|
||||
defaults:
|
||||
run:
|
||||
working-directory: ./exampleSite
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
|
@ -25,7 +28,6 @@ jobs:
|
|||
|
||||
- name: Deploy
|
||||
uses: peaceiris/actions-gh-pages@v3
|
||||
if: github.ref == 'refs/heads/master'
|
||||
with:
|
||||
github_token: ${{ secrets.GH_TOKEN }}
|
||||
publish_dir: ./public
|
||||
publish_dir: ./exampleSite/public
|
Loading…
Reference in a new issue