diff --git a/.forgejo/workflows/deploy.yaml b/.forgejo/workflows/deploy.yaml index 1e6f1ff..fa296a2 100644 --- a/.forgejo/workflows/deploy.yaml +++ b/.forgejo/workflows/deploy.yaml @@ -11,8 +11,7 @@ jobs: - run: npm install - run: npm run build:posts - run: npm run build - run: | - echo "test content" > test.txt + - run: | echo "${{ secrets.SSH_FORGEJO_KEY }}" > /tmp/ssh_key chmod 600 /tmp/ssh_key ssh -i /tmp/ssh_key -o StrictHostKeyChecking=no ${{ vars.VPS_USER }} "bash -c 'rm -rf /var/www/systemsobscure.blog/*'"