diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 1336883..4faedfb 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -50,12 +50,8 @@ jobs: WEATHER_API_KEY: ${{ secrets.WEATHER_API_KEY }} DOGPICS_API_KEY: ${{ secrets.DOGPICS_API_KEY }} CATPICS_API_KEY: ${{ secrets.CATPICS_API_KEY }} - - name: Debug output target hostname value - run: echo "getting key for ${{ vars[format('{0}_SERVER_HOSTNAME', matrix.bot) }}" - name: Create SSH dir run: mkdir -pv ~/.ssh - - name: Seed SSH known_hosts file - run: ssh-keyscan -t rsa ${{ vars[format('{0}_SERVER_HOSTNAME', matrix.bot) }} > ~/.ssh/known_hosts - name: Seed SSH key for deploy run: echo "${{ secrets.DEPLOY_KEY }}" | tr -d '\r' > ~/.ssh/id_rsa && chmod 0600 ~/.ssh/id_rsa - name: Deploy