Skip to content

Commit

Permalink
publish _site artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
maany committed Jan 29, 2024
1 parent 25b0b7d commit 506e673
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,23 +60,17 @@ jobs:
uses: actions/download-artifact@v4
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path: artifacts
path: _site

- name: List all artifacts 🚀
if: always()
run: |
ls -la artifacts
- name: Upload Final Artifact 🚀
if: always() # TODO: run only when
uses: actions/upload-artifact@v4
with:
name: github-pages
path: artifacts
ls -la _site
- name: Upload Pages artifact
uses: actions/upload-pages-artifact@v2


publish:
needs: prepare-content
# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
Expand Down

0 comments on commit 506e673

Please sign in to comment.