fix: added recursion to scp in action
Some checks failed
Gitea Actions Demo / Build (push) Failing after 1m19s

This commit is contained in:
2025-09-24 18:48:45 +02:00
parent f1fc074f1f
commit a08dfcf4c1

View File

@@ -35,6 +35,6 @@ jobs:
run: npm run build
- name: upload to web
run: |
scp -i ${{ github.workspace }}/../private.key -P ${{ secrets.BLOG_PORT }} build/* blog@madeio.net:/var/www/html/
scp -r -i ${{ github.workspace }}/../private.key -P ${{ secrets.BLOG_PORT }} build/* blog@madeio.net:/var/www/html/
ssh -i ${{ github.workspace }}/../private.key -p ${{ secrets.BLOG_PORT }} blog@madeio.net chmod -R 775 /var/www/html/
- run: echo "🍏 This job's status is ${{ job.status }}."