Skip to content

Commit

Permalink
try: change path to publish git hub pages
Browse files Browse the repository at this point in the history
  • Loading branch information
NickChecan committed Dec 23, 2024
1 parent 17b3d8e commit bf7fa83
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ jobs:
- name: Build MkDocs site
run: mkdocs build --clean

- name: Upload built site
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: zjoule-website
path: site
name: website
path: site/

deploy:
runs-on: ubuntu-latest
Expand All @@ -40,10 +40,10 @@ jobs:
- name: Download artifact
uses: actions/download-artifact@v3
with:
name: zjoule-website
name: website
path: ./public

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
personal_token: ${{ secrets.NEFARIOUS_PERSONAL_TOKEN }}
publish_dir: ./zjoule-website
personal_token: ${{ secrets.NEFARIOUS_PERSONAL_TOKEN }}

0 comments on commit bf7fa83

Please sign in to comment.