Skip to content

Commit

Permalink
fix: workflows ci-cd versions of actions
Browse files Browse the repository at this point in the history
  • Loading branch information
sonyhero committed Jul 24, 2024
1 parent f573d3b commit fa36b09
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci-cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20.x
- name: Install Dependencies
run: npm install
- name: Build Project
run: npm run build
- name: Upload artifact to enable deployment
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: production-files
path: ./build
Expand All @@ -31,12 +31,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Download artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: production-files
path: ./build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.PORTFOLIO }}
publish_dir: ./build

0 comments on commit fa36b09

Please sign in to comment.