Deploy Landscape (external) #37
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 Landscape (external) | |
on: | |
workflow_dispatch: | |
inputs: | |
tag: | |
type: string | |
required: true | |
description: Enter the tag to deploy | |
default: staging | |
kernel: | |
type: boolean | |
required: false | |
default: true | |
description: Also deploy to kernel integration moon | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
name: "Release to ~doznec-dozzod-marnus (external)" | |
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 doznec-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 }} | |
- id: deploy-kernel | |
name: Deploy Kernel Moon | |
if: ${{ github.event.inputs.kernel == 'true' }} | |
run: ./.github/helpers/deploy.sh tloncorp/landscape landscape bosdev-dozzod-marnus us-central1-b 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 }} |