Skip to content

Commit d60faf1

Browse files
authored
Update deploy.yml
1 parent 6e1b0d6 commit d60faf1

File tree

1 file changed

+2
-24
lines changed

1 file changed

+2
-24
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ jobs:
2626
run: npm run build
2727

2828
- name: Upload production-ready build files
29-
id: deployment
30-
uses: actions/upload-artifact@v4
29+
uses: actions/upload-artifact@v3
3130
with:
3231
name: production-files
3332
path: ./dist
@@ -50,25 +49,4 @@ jobs:
5049
with:
5150
github_token: ${{ secrets.GITHUB_TOKEN }}
5251
publish_dir: ./dist
53-
54-
# Deploy job
55-
deploy_2:
56-
# Add a dependency to the build job
57-
needs: build
58-
59-
# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
60-
permissions:
61-
pages: write # to deploy to Pages
62-
id-token: write # to verify the deployment originates from an appropriate source
63-
64-
# Deploy to the github-pages environment
65-
environment:
66-
name: github-pages
67-
url: ${{ steps.deployment.outputs.page_url }}
68-
69-
# Specify runner + deployment step
70-
runs-on: ubuntu-latest
71-
steps:
72-
- name: Deploy to GitHub Pages
73-
id: deployment
74-
uses: actions/deploy-pages@v4 # or specific "vX.X.X" version tag for this action
52+

0 commit comments

Comments
 (0)