landscape/.github/workflows/deploy-external.yml
2023-03-21 12:56:50 -05:00

28 lines
907 B
YAML

name: Deploy Landscape (external)
on:
workflow_dispatch:
inputs:
tag:
type: string
required: true
description: Enter the tag to deploy
jobs:
deploy:
runs-on: ubuntu-latest
name: "Release to ~doznec-dozzod-marzod (external)"
steps:
- uses: actions/checkout@v3
- id: 'auth'
uses: 'google-github-actions/auth@v1'
with:
credentials_json: '${{ secrets.JANEWAY_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 garden doznec-dozzod-marzod us-west1-b ${{ github.event.inputs.tag }}
env:
SSH_SEC_KEY: ${{ secrets.JANEWAY_SSH_SEC_KEY }}
SSH_PUB_KEY: ${{ secrets.JANEWAY_SSH_PUB_KEY }}
URBIT_REPO_TAG: ${{ vars.URBIT_REPO_TAG }}