diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 8d82345..da8a2ae 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -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 @@ -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 \ No newline at end of file + personal_token: ${{ secrets.NEFARIOUS_PERSONAL_TOKEN }} \ No newline at end of file