Skip to content

Commit

Permalink
validate cache and update databases in staging deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
glencoden committed Jan 5, 2023
1 parent bffa31d commit 1c8764b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/deploy-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,13 @@ jobs:
echo "${{ secrets.ENV_LIVE }}" > .env
echo "${{ secrets.ENV_STAGING }}" > .env.staging
cat .env.staging >> .env
bash contexts/tsc/scripts/validate-cache.sh
docker compose down --rmi local
docker image prune -f
docker compose up -d --build
ENDSSH
- name: init and remove databases as listed in .env
run: |
ssh root@${{ secrets.SERVER_ADDRESS_STAGING }} <<"ENDSSH"
bash /root/apps/wolke/scripts/init-databases.sh
ENDSSH

0 comments on commit 1c8764b

Please sign in to comment.