diff options
| author | seth <[email protected]> | 2023-12-11 14:44:32 -0500 |
|---|---|---|
| committer | seth <[email protected]> | 2023-12-11 14:44:32 -0500 |
| commit | 3358ee42f9f09979576f2acbb4f39e707fb24085 (patch) | |
| tree | 60adfd54ccdc267cc65b5f1e65a27deb9b03ed24 /.github | |
| parent | 534dad90001ff5a7d492fda7ce3a117d1d011e71 (diff) | |
actions: use existing known_hosts file for deploy
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/deploy.yaml | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 117ddfd..34f4f26 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -35,19 +35,14 @@ jobs: oauth-secret: ${{ secrets.TS_OAUTH_SECRET }} tags: tag:gha - - name: Add pubkeys to known_hosts + - name: Copy known_hosts run: | set -eux [ ! -d ~/.ssh ] && mkdir -p ~/.ssh - pubkeys=( - "atlas ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIC7YiSYYx/+zmVOPSCERHzSsMeUQtA+Vt1W0sLUw4YhK" - ) - - for key in "${pubkeys[@]}"; do echo "$key" >> ~/.ssh/known_hosts; done + cp .known_hosts ~/.ssh/known_hosts - name: Run deploy run: | nix develop --accept-flake-config \ - --command bash \ - -c "just deploy-all" + --command just deploy-all |
