diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index f6625b9..007e4d1 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -12,10 +12,9 @@ jobs: uses: actions/checkout@v4 - run: zola build - name: Write SSH keys - run: | - install -m 600 -D /dev/null ~/.ssh/id_ed25519 - echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_ed25519 - ssh-keyscan -H soaos.dev > ~/.ssh/known_hosts + run: install -m 600 -D /dev/null ~/.ssh/id_ed25519 + - run: echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_ed25519 + - run: ssh-keyscan -H soaos.dev > ~/.ssh/known_hosts - name: Copy built site to server run: scp -sr public git@soaos.dev:/var/www/soaos.dev