Skip to content
This repository has been archived by the owner on Mar 4, 2024. It is now read-only.

Commit

Permalink
fix(cd): install before cleanup versions (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
cajubelt authored Aug 31, 2023
1 parent e5241dc commit 9530283
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ jobs:
with:
service_account_key: ${{ secrets.ALFAJORES_SERVICE_ACCOUNT_KEY }}
export_default_credentials: true
- run: yarn
- name: Deploy App
run: gcloud app deploy app.alfajores.yaml --project=celo-mobile-alfajores --version="git-$(git rev-parse --short HEAD)" --quiet --promote --stop-previous-version
- name: Cleanup Versions
Expand All @@ -97,6 +98,7 @@ jobs:
with:
service_account_key: ${{ secrets.MAINNET_SERVICE_ACCOUNT_KEY }}
export_default_credentials: true
- run: yarn
- name: Deploy App
run: gcloud app deploy app.mainnet.yaml --project=celo-mobile-mainnet --version="git-$(git rev-parse --short HEAD)" --quiet --promote --stop-previous-version
- name: Cleanup Versions
Expand Down

0 comments on commit 9530283

Please sign in to comment.