Skip to content

Commit

Permalink
Merge branch 'main' of github.com:jookzie/respotify-frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
jookzie committed Jun 21, 2024
2 parents 11db633 + 0c0508c commit b67ada8
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions .github/workflows/pipeline.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

name: Main pipeline

on:
Expand All @@ -11,23 +10,18 @@ jobs:
test:
name: Test solution
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [21.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/


steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Use Node.js ${{ matrix.node-version }}
- name: Use Node.js 21
uses: actions/setup-node@v4

with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
node-version: '21'

- name: Install dependencies
run: npm ci

Expand Down Expand Up @@ -114,6 +108,6 @@ jobs:
run: az aks get-credentials --resource-group ${{ secrets.AZURE_RESOURCE_GROUP }} --name ${{ secrets.AZURE_CLUSTER_NAME }} --overwrite-existing

- name: Restart deployment
run: kubectl rollout restart deployment/frontend
run: kubectl rollout restart deployment/frontend -n ingress-nginx
continue-on-error: true #If aks cluster is not available, the pipeline should not fail

0 comments on commit b67ada8

Please sign in to comment.