main.html: remove spotify from feature list #8
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| on: | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v2 | |
| - name: Build docker image | |
| uses: docker/build-push-action@v2.2.1 | |
| with: | |
| context: lambda.clementine-player.org/images | |
| file: lambda.clementine-player.org/images/Dockerfile | |
| push: false | |
| tags: | | |
| gcr.io/clementine-web/images | |
| - name: Set up gcloud Cloud SDK environment | |
| uses: google-github-actions/setup-gcloud@v0.2.0 | |
| with: | |
| project_id: "clementine-web" | |
| service_account_key: ${{ secrets.GOOGLE_CREDENTIALS }} | |
| export_default_credentials: true | |
| - name: Install beta gcloud components | |
| run: gcloud components install beta | |
| - name: Configure docker auth | |
| run: gcloud auth configure-docker | |
| - name: docker push | |
| run: docker push gcr.io/clementine-web/images | |
| - name: Deploy service to Cloud Run | |
| run: > | |
| gcloud beta run deploy images | |
| --region europe-north1 | |
| --image gcr.io/clementine-web/images | |
| --platform managed | |
| --allow-unauthenticated | |
| --project clementine-web | |
| --set-env-vars=SPOTIFY_CLIENT_ID=01553d0be6054defb275ae899d368b1e | |
| --set-secrets SPOTIFY_CLIENT_SECRET=SPOTIFY_CLIENT_SECRET:latest | |
| --service-account images@clementine-web.iam.gserviceaccount.com | |
| --max-instances=1 | |
| --memory=128Mi |