Skip to content

Commit

Permalink
check with upload step
Browse files Browse the repository at this point in the history
  • Loading branch information
wassfila committed Apr 21, 2024
1 parent e2b54db commit 15bd40f
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,13 @@ jobs:
uses: withastro/action@v2
with:
path: ./website
node-version: 20 # The specific version of Node that should be used to build your site. Defaults to 20. (optional)
package-manager: pnpm@latest # The Node package manager that should be used to install dependencies and build your site. Automatically detected based on your lockfile. (optional)
node-version: 20
package-manager: pnpm@latest
- name: Upload Artifacts
uses: actions/upload-artifact@v2
with:
name: website-artifact
path: cache/web # Specify the correct output directory here

deploy:
needs: build
Expand All @@ -34,6 +39,12 @@ jobs:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Download Artifacts
uses: actions/download-artifact@v2
with:
name: website-artifact
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4

0 comments on commit 15bd40f

Please sign in to comment.