mirror of
https://github.com/tloncorp/landscape.git
synced 2024-12-20 15:21:48 +03:00
32 lines
974 B
YAML
32 lines
974 B
YAML
name: Deploy Landscape (canary)
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
tag:
|
|
type: string
|
|
required: false
|
|
description: Enter the tag to deploy
|
|
default: staging
|
|
push:
|
|
branches:
|
|
- staging
|
|
jobs:
|
|
deploy:
|
|
runs-on: ubuntu-latest
|
|
name: "Release to ~binnec-dozzod-marnus (canary)"
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- id: "auth"
|
|
uses: "google-github-actions/auth@v1"
|
|
with:
|
|
credentials_json: "${{ secrets.GCP_SERVICE_KEY }}"
|
|
- name: "Set up Cloud SDK"
|
|
uses: "google-github-actions/setup-gcloud@v1"
|
|
- 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 }}
|
|
env:
|
|
SSH_SEC_KEY: ${{ secrets.GCP_SSH_SEC_KEY }}
|
|
SSH_PUB_KEY: ${{ secrets.GCP_SSH_PUB_KEY }}
|
|
URBIT_REPO_TAG: ${{ vars.URBIT_REPO_TAG }}
|