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 }}