fix: use ayrbot github token (#78) #260
This file contains 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
name: Deploy infra | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
jobs: | |
apply-changes: | |
name: Apply changes | |
runs-on: ubuntu-latest | |
concurrency: pulumi-up | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node LTS | |
uses: actions/setup-node@v3 | |
with: | |
node-version: lts/* | |
cache: yarn | |
- name: Authenticate to GCP | |
uses: google-github-actions/auth@v0 | |
with: | |
project_id: ${{ secrets.GOOGLE_PROJECT_ID }} | |
credentials_json: ${{ secrets.GOOGLE_PROJECT_SA_KEY }} | |
- uses: simenandre/setup-gke-gcloud-auth-plugin@v1 | |
- run: yarn install | |
- uses: pulumi/actions@v4 | |
with: | |
command: up | |
cloud-url: gs://ayr-pulumi/infra-core | |
stack-name: prod |