From 5d21299d65aa8a30b64650ee0b73a4c6847a947e Mon Sep 17 00:00:00 2001 From: thomasabishop Date: Thu, 10 Jul 2025 14:47:59 +0100 Subject: [PATCH] fix: syntax error deploy workflow --- .forgejo/workflows/deploy.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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/*'"