From fa36b09f0600bd854600b0c88fcf57af9c854349 Mon Sep 17 00:00:00 2001 From: sonyhero <27anton06@gmail.com> Date: Wed, 24 Jul 2024 20:18:52 +0300 Subject: [PATCH] fix: workflows ci-cd versions of actions --- .github/workflows/ci-cd.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci-cd.yaml b/.github/workflows/ci-cd.yaml index 496b9c0..97465a9 100644 --- a/.github/workflows/ci-cd.yaml +++ b/.github/workflows/ci-cd.yaml @@ -9,9 +9,9 @@ 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 @@ -19,7 +19,7 @@ jobs: - 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 @@ -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 \ No newline at end of file