diff --git a/.github/workflows/deploy_staging.yml b/.github/workflows/deploy_staging.yml index a524da5d8..56d301281 100644 --- a/.github/workflows/deploy_staging.yml +++ b/.github/workflows/deploy_staging.yml @@ -16,4 +16,14 @@ jobs: - run: gcloud auth configure-docker - uses: google-github-actions/setup-gcloud@v2 - run: yarn deploy:images:staging - # TODO: delete pod + deploy-image: + runs-on: ubuntu-latest + needs: docker-image + steps: + - uses: google-github-actions/get-gke-credentials@v2 + with: + cluster_name: serlo-staging-cluster + location: europe-west3-a + credentials: ${{ secrets.GCP_STAGING_SERVICE_ACCOUNT }} + - run: kubectl delete pod -l app=server + - run: kubectl delete pod -l app=swr-queue-worker