diff --git a/.gitea/workflows/demo.yaml b/.gitea/workflows/demo.yaml index cf46bf9..64b2a0b 100644 --- a/.gitea/workflows/demo.yaml +++ b/.gitea/workflows/demo.yaml @@ -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 }}."