Skip to content

Commit

Permalink
Update main.yml versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Sak1012 authored Feb 19, 2025
1 parent d1ceebe commit ef533f0
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18
cache: 'npm'
Expand All @@ -42,12 +42,17 @@ jobs:
- name: Fix router
run: cp dist/index.html dist/404.html
- name: Setup Pages
uses: actions/configure-pages@v3
uses: actions/configure-pages@v4
- name: Upload artifact storage
uses: actions/upload-artifact@v4
with:
name: build-artifact
path: './dist'
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
# Upload dist repository
path: './dist'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
uses: actions/deploy-pages@v2

0 comments on commit ef533f0

Please sign in to comment.