From ba9908f9de4998a8b66fed68d7ba47c5d208e3e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anne=20L=27H=C3=B4te?= Date: Thu, 8 Feb 2024 08:25:28 +0100 Subject: [PATCH] fix(ci/cd): Upgrade the Github Workflow actions --- .github/workflows/production.yml | 10 +++++----- .github/workflows/staging.yml | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/production.yml b/.github/workflows/production.yml index b52dd7d..9497c8a 100644 --- a/.github/workflows/production.yml +++ b/.github/workflows/production.yml @@ -18,7 +18,7 @@ jobs: runs-on: ubuntu-latest steps: - name: 🏁 Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: 🏷️ Get tag id: tag @@ -28,7 +28,7 @@ jobs: run: docker login ghcr.io -u ${{ github.actor }} -p ${{ secrets.GITHUB_TOKEN }} - name: Build client - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 18 - run: npm ci --silent && npm run build --mode=production @@ -51,7 +51,7 @@ jobs: needs: publish-ghcr steps: - name: 🏁 Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 @@ -80,7 +80,7 @@ jobs: needs: publish-ghcr steps: - name: Check Out Repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Deploy to Cluster id: kubectl-deploy @@ -96,7 +96,7 @@ jobs: if: always() runs-on: ubuntu-latest steps: - - uses: dataesr/mm-notifier-action@v1 + - uses: dataesr/mm-notifier-action@v1.0.2 with: deployment_url: ${{ env.DEPLOYMENT_URL }} github_token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/staging.yml b/.github/workflows/staging.yml index d33f72c..09fcd8f 100644 --- a/.github/workflows/staging.yml +++ b/.github/workflows/staging.yml @@ -18,7 +18,7 @@ jobs: runs-on: ubuntu-latest steps: - name: 🏁 Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: 🏷️ Get tag id: tag @@ -28,7 +28,7 @@ jobs: run: docker login ghcr.io -u ${{ github.actor }} -p ${{ secrets.GITHUB_TOKEN }} - name: Build client - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 18 - run: npm ci --silent && npm run build --mode=staging @@ -49,7 +49,7 @@ jobs: needs: publish-ghcr steps: - name: Check Out Repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Deploy to Cluster id: kubectl-deploy @@ -65,7 +65,7 @@ jobs: if: always() runs-on: ubuntu-latest steps: - - uses: dataesr/mm-notifier-action@v1 + - uses: dataesr/mm-notifier-action@v1.0.2 with: deployment_url: ${{ env.DEPLOYMENT_URL }} github_token: ${{ secrets.GITHUB_TOKEN }}