landscape/.github/workflows/deploy-canary.yml

32 lines
974 B
YAML
Raw Normal View History

2023-01-04 21:17:54 +03:00
name: Deploy Landscape (canary)
on:
workflow_dispatch:
inputs:
tag:
type: string
required: false
description: Enter the tag to deploy
2024-01-30 02:24:57 +03:00
default: staging
push:
branches:
- staging
2023-01-04 21:17:54 +03:00
jobs:
deploy:
runs-on: ubuntu-latest
name: "Release to ~binnec-dozzod-marnus (canary)"
2023-01-04 21:17:54 +03:00
steps:
- uses: actions/checkout@v3
- id: "auth"
uses: "google-github-actions/auth@v1"
2023-01-04 21:17:54 +03:00
with:
credentials_json: "${{ secrets.GCP_SERVICE_KEY }}"
- name: "Set up Cloud SDK"
uses: "google-github-actions/setup-gcloud@v1"
2023-02-02 02:46:02 +03:00
- id: deploy
name: Deploy
run: ./.github/helpers/deploy.sh tloncorp/landscape landscape binnec-dozzod-marnus us-central1-a mainnet-tlon-other-2d ${{ github.event.inputs.tag }}
2023-02-02 02:46:02 +03:00
env:
2023-05-16 19:55:17 +03:00
SSH_SEC_KEY: ${{ secrets.GCP_SSH_SEC_KEY }}
SSH_PUB_KEY: ${{ secrets.GCP_SSH_PUB_KEY }}
URBIT_REPO_TAG: ${{ vars.URBIT_REPO_TAG }}