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

Bump vite from 4.0.3 to 4.3.9 #3

Bump vite from 4.0.3 to 4.3.9

Bump vite from 4.0.3 to 4.3.9 #3

name: Staging Cleanup
on:
pull_request:
types: [closed]
jobs:
server:
name: 'Teardown PR #${{ github.event.pull_request.number }} Staging Server'
if: github.event.pull_request.head.repo.full_name == github.repository
runs-on: ubuntu-latest
environment: staging
concurrency: 'staging:server'
steps:
- uses: actions/checkout@v3
- id: gcp_auth
uses: google-github-actions/auth@v1
with:
credentials_json: '${{ secrets.SERVER_DEPLOY_KEY }}'
token_format: access_token
- uses: google-github-actions/setup-gcloud@v1
with:
project_id: imyourmanzi-spotifyplaylistmgr
- run: gcloud run deploy staging-server --image us-central1-docker.pkg.dev/imyourmanzi-spotifyplaylistmgr/server-images/server:latest --region us-central1
- run: gcloud artifacts docker images delete us-central1-docker.pkg.dev/imyourmanzi-spotifyplaylistmgr/server-images/server:pr-${{ github.event.pull_request.number }}-latest