Skip to content

Commit

Permalink
Update Github Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
q9f authored Oct 25, 2024
1 parent 68aac6f commit 71ed824
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Install Node.js
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: 18.x

Expand All @@ -24,7 +24,7 @@ jobs:
run: npm run build

- name: Upload production-ready build files
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: production-files
path: ./public
Expand All @@ -37,12 +37,12 @@ jobs:

steps:
- name: Download artifact
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: production-files
path: ./public
- name: Deploy to Github
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
Expand Down

0 comments on commit 71ed824

Please # to comment.