Skip to content

Commit

Permalink
fix(ci/cd): Upgrade the Github Workflow actions
Browse files Browse the repository at this point in the history
  • Loading branch information
annelhote committed Feb 8, 2024
1 parent bf3528d commit ba9908f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -51,7 +51,7 @@ jobs:
needs: publish-ghcr
steps:
- name: 🏁 Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down Expand Up @@ -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
Expand All @@ -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 }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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 }}
Expand Down

0 comments on commit ba9908f

Please sign in to comment.