Skip to content

Commit

Permalink
feat: upload path
Browse files Browse the repository at this point in the history
  • Loading branch information
lishoulong committed May 27, 2024
1 parent d3d4815 commit 066942b
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,12 @@ jobs:
version: 9.1.2
- name: Install, build, and upload your site
uses: withastro/action@v2
# with:
# path: . # The root location of your Astro project inside the repository. (optional)
# 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)
- name: Upload Artifact
if: github.ref == 'refs/heads/main'
uses: actions/upload-pages-artifact@v1
with:
# location of the coverage artifacts
path: "./dist"

deploy:
needs: build
Expand Down

0 comments on commit 066942b

Please sign in to comment.