mirror of
https://github.com/tloncorp/landscape.git
synced 2024-11-30 18:27:24 +03:00
ops: alternate key route
This commit is contained in:
parent
4a17b0539d
commit
8c7980e676
2
.github/helpers/prep-deploy.sh
vendored
2
.github/helpers/prep-deploy.sh
vendored
@ -29,6 +29,4 @@ rm -rf $urbit_repo
|
||||
echo "$cmds"
|
||||
echo "$cmds" >> "$cmdfile"
|
||||
|
||||
key=$(echo "$SSH_SEC_KEY" | base64 -d)
|
||||
echo "key=$(echo $key)" >> $GITHUB_OUTPUT
|
||||
echo "cmdfile=$(echo $cmdfile)" >> $GITHUB_OUTPUT
|
5
.github/workflows/deploy.yml
vendored
5
.github/workflows/deploy.yml
vendored
@ -58,9 +58,6 @@ jobs:
|
||||
name: Prep Deploy Script
|
||||
run:
|
||||
./.github/helpers/prep-deploy.sh tloncorp/landscape landscape
|
||||
env:
|
||||
SSH_SEC_KEY: ${{ secrets.JANEWAY_SSH_SEC_KEY }}
|
||||
SSH_PUB_KEY: ${{ secrets.JANEWAY_SSH_PUB_KEY }}
|
||||
- id: 'compute-ssh'
|
||||
name: Deploy
|
||||
uses: 'google-github-actions/ssh-compute@v0'
|
||||
@ -70,5 +67,5 @@ jobs:
|
||||
instance_name: 'wannec-dozzod-marzod'
|
||||
ssh_args: '-T'
|
||||
flags: '--verbosity=info'
|
||||
ssh_private_key: '${{ steps.deploy-prep.outputs.key }}'
|
||||
ssh_private_key: '${{ secrets.TEST_KEY }}'
|
||||
script: ${{ steps.deploy-prep.outputs.cmdfile }}
|
Loading…
Reference in New Issue
Block a user