fix: added recursion to scp in action
Some checks failed
Gitea Actions Demo / Build (push) Failing after 1m19s
Some checks failed
Gitea Actions Demo / Build (push) Failing after 1m19s
This commit is contained in:
@@ -35,6 +35,6 @@ jobs:
|
|||||||
run: npm run build
|
run: npm run build
|
||||||
- name: upload to web
|
- name: upload to web
|
||||||
run: |
|
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/
|
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 }}."
|
- run: echo "🍏 This job's status is ${{ job.status }}."
|
||||||
|
|||||||
Reference in New Issue
Block a user