From 5d61558ef334fff81741662a272350115c255ac4 Mon Sep 17 00:00:00 2001 From: samoht9277 Date: Fri, 9 Feb 2024 17:59:59 -0300 Subject: [PATCH] Changed tailscale tag. --- .github/workflows/deploy-production.yaml | 4 ++-- .github/workflows/deploy-testing.yaml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy-production.yaml b/.github/workflows/deploy-production.yaml index 61e0b9c1..1bd37cd9 100644 --- a/.github/workflows/deploy-production.yaml +++ b/.github/workflows/deploy-production.yaml @@ -26,14 +26,14 @@ jobs: with: oauth-client-id: ${{ secrets.TS_OAUTH_CLIENT_ID }} oauth-secret: ${{ secrets.TS_OAUTH_SECRET }} - tags: tag:server + tags: tag:ci - name: Create ssh private key file from env var env: SSH_KEY: ${{ secrets.SSH_KEY }} TS_HOST: ${{ vars.TS_HOST }} run: | - mkdir -p ~/.ssh/ + mkdir ~/.ssh/ sed -E 's/(-+(BEGIN|END) OPENSSH PRIVATE KEY-+) *| +/\1\n/g' <<< "$SSH_KEY" > ~/.ssh/id_ed25519 chmod 400 ~/.ssh/id_ed25519 retries=5; until ssh-keyscan $TS_HOST >> ~/.ssh/known_hosts || [ $retries -eq 0 ]; do ((retries--)); sleep 5; done diff --git a/.github/workflows/deploy-testing.yaml b/.github/workflows/deploy-testing.yaml index 7b8d8c84..9413b26d 100644 --- a/.github/workflows/deploy-testing.yaml +++ b/.github/workflows/deploy-testing.yaml @@ -27,14 +27,14 @@ jobs: with: oauth-client-id: ${{ secrets.TS_OAUTH_CLIENT_ID }} oauth-secret: ${{ secrets.TS_OAUTH_SECRET }} - tags: tag:server + tags: tag:ci - name: Create ssh private key file from env var env: SSH_KEY: ${{ secrets.SSH_KEY }} TS_HOST: ${{ vars.TS_HOST }} run: | - mkdir -p ~/.ssh/ + mkdir ~/.ssh/ sed -E 's/(-+(BEGIN|END) OPENSSH PRIVATE KEY-+) *| +/\1\n/g' <<< "$SSH_KEY" > ~/.ssh/id_ed25519 chmod 400 ~/.ssh/id_ed25519 retries=5; until ssh-keyscan $TS_HOST >> ~/.ssh/known_hosts || [ $retries -eq 0 ]; do ((retries--)); sleep 5; done