Update .gitea/workflows/deploy.yml
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 1m42s Details

This commit is contained in:
Alice 2024-07-08 21:10:49 -03:00
parent f716f7faa9
commit b10509489b
1 changed files with 8 additions and 0 deletions

View File

@ -25,4 +25,12 @@ jobs:
- name: Build
run: bundle exec jekyll build
- name: Deploy to alice
run: |
echo "${{ secrets.SCP_KEY_ALICE }}" > /tmp/ssh_private_key
chmod 600 /tmp/ssh_private_key
mv _site alice
scp -o "StrictHostKeyChecking no" -i /tmp/ssh_private_key -P ${{ secrets.SSH_PORT_ALICE }} -r alice act_runner@alice.ufsj.edu.br:/var/www/html
- run: echo "🍏 This job's status is ${{ job.status }}."