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
|
2023-05-17 22:12:18 +03:00
|
|
|
name: "Release to ~binnec-dozzod-marnus (canary)"
|
2023-01-04 21:17:54 +03:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
2023-05-17 22:12:18 +03:00
|
|
|
- id: "auth"
|
|
|
|
uses: "google-github-actions/auth@v1"
|
2023-01-04 21:17:54 +03:00
|
|
|
with:
|
2023-05-17 22:12:18 +03:00
|
|
|
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
|
2023-02-02 00:13:14 +03:00
|
|
|
name: Deploy
|
2023-07-12 01:01:51 +03:00
|
|
|
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 }}
|
2023-05-17 22:12:18 +03:00
|
|
|
URBIT_REPO_TAG: ${{ vars.URBIT_REPO_TAG }}
|