Update docs.yml

This commit is contained in:
Nuno Coração 2022-09-11 20:11:31 +01:00 committed by GitHub
parent cf8de84c5a
commit ab4a0ec920
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,9 +23,15 @@ jobs:
- uses: actions/checkout@v3
- name: Compile site
run: hugo --source exampleSite --themesDir ../..
run: hugo --source exampleSite --themesDir ../.. -d docs
- name: Package
uses: actions/upload-pages-artifact@v1.0.4
with:
path: example/docs
- name: Deploy GitHub Pages site
uses: actions/deploy-pages@v1.0.10
with:
artifact_name: docs
token: ${{ github.token }}
page_url: /docs