Skip to content

Commit c460836

Browse files
committed
used a new forked action
1 parent 1839eb5 commit c460836

File tree

1 file changed

+4
-14
lines changed

1 file changed

+4
-14
lines changed

.github/workflows/deploy.yml

+4-14
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,12 @@ jobs:
2121
- name: Checkout your repository using git
2222
uses: actions/checkout@v4
2323
- name: Install, build, and upload your site
24-
uses: withastro/action@v2
24+
uses: MicroWebStacks/astro_action
2525
with:
2626
path: ./website
27-
node-version: 20
28-
package-manager: pnpm@latest
29-
- name: Upload Artifacts
30-
uses: actions/upload-artifact@v2
31-
with:
32-
name: website-artifact
33-
path: ./cache/web
27+
out: ./cache/web
28+
node-version: 20 # The specific version of Node that should be used to build your site. Defaults to 20. (optional)
29+
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)
3430

3531
deploy:
3632
needs: build
@@ -39,12 +35,6 @@ jobs:
3935
name: github-pages
4036
url: ${{ steps.deployment.outputs.page_url }}
4137
steps:
42-
- name: Checkout Repository
43-
uses: actions/checkout@v4
44-
- name: Download Artifacts
45-
uses: actions/download-artifact@v2
46-
with:
47-
name: website-artifact
4838
- name: Deploy to GitHub Pages
4939
id: deployment
5040
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)