Skip to content

Commit a465598

Browse files
committed
Another attempt to solve the new artifacts actions
1 parent 85b44cd commit a465598

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

.github/workflows/deploy.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,19 +31,15 @@ jobs:
3131
run: ls -laR ./dist && du -hs ./dist
3232

3333
- name: Upload dist as artifact
34+
id: deployment
3435
uses: actions/upload-artifact@v4
3536
with:
3637
name: pages-artifact
37-
path: ./dist
38-
39-
- name: Download artifact
40-
uses: actions/download-artifact@v4
41-
with:
42-
name: pages-artifact
43-
path: ./dist
38+
path: ./dist/
4439

4540
- name: Deploy to GitHub Pages
46-
uses: actions/deploy-pages@v1
41+
id: deployment
42+
uses: actions/deploy-pages@v4
4743
with:
4844
artifact_name: pages-artifact # MUST match what you uploaded
4945
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)