From 866f3fb013cc880622bb948bb09caacd403121ac Mon Sep 17 00:00:00 2001 From: Aditya Khatri Date: Fri, 4 Apr 2025 16:47:10 +0545 Subject: [PATCH] Update cd workflow --- .github/workflows/cd.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 0ad8e81..73dac53 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -13,8 +13,8 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: '18.x' @@ -22,7 +22,7 @@ jobs: id: yarn-cache-dir-path run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT - - uses: actions/cache@v3 + - uses: actions/cache@v4 id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`) with: path: ${{ steps.yarn-cache-dir-path.outputs.dir }} @@ -40,12 +40,12 @@ jobs: NEXT_PRIVATE_STANDALONE: true - name: Upload GH artifacts - uses: actions/upload-pages-artifact@v1 + uses: actions/upload-pages-artifact@v3 with: path: out/ - name: Upload artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: path: out/ name: client-build @@ -68,7 +68,7 @@ jobs: steps: - name: Deploy to GitHub Pages 🚀 id: deployment - uses: actions/deploy-pages@v2 + uses: actions/deploy-pages@v4 prod_deploy: name: Deploy (PROD) @@ -81,7 +81,7 @@ jobs: url: https://togglecorp.com steps: - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: client-build path: ./out