Skip to content

Commit

Permalink
fix: forcing uninstall of demo due to stale image updating (#992)
Browse files Browse the repository at this point in the history
  • Loading branch information
cberg-aot authored Dec 28, 2023
1 parent ad01dad commit f8a3f3b
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,20 @@ concurrency:
cancel-in-progress: true

jobs:
deploys-demo:
uninstall-demo:
name: Uninstall (demo)
environment: test
runs-on: ubuntu-22.04
steps:
- name: uninstall
run: |
oc login --token=${{ secrets.oc_token }} --server=${{ vars.oc_server }}
oc project ${{ vars.OC_NAMESPACE }} # Safeguard!
helm uninstall onroutebc-demo || true
deploy-demo:
name: Deploys (demo)
uses: ./.github/workflows/deploy.yml
needs: uninstall-demo
secrets: inherit
with:
environment: ${{inputs.environment}} #test env -> test database
Expand Down

0 comments on commit f8a3f3b

Please sign in to comment.