This commit is contained in:
parent
4291464e49
commit
5d21299d65
1 changed files with 1 additions and 2 deletions
|
@ -11,8 +11,7 @@ jobs:
|
||||||
- run: npm install
|
- run: npm install
|
||||||
- run: npm run build:posts
|
- run: npm run build:posts
|
||||||
- run: npm run build
|
- run: npm run build
|
||||||
run: |
|
- run: |
|
||||||
echo "test content" > test.txt
|
|
||||||
echo "${{ secrets.SSH_FORGEJO_KEY }}" > /tmp/ssh_key
|
echo "${{ secrets.SSH_FORGEJO_KEY }}" > /tmp/ssh_key
|
||||||
chmod 600 /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/*'"
|
ssh -i /tmp/ssh_key -o StrictHostKeyChecking=no ${{ vars.VPS_USER }} "bash -c 'rm -rf /var/www/systemsobscure.blog/*'"
|
||||||
|
|
Loading…
Add table
Reference in a new issue