Update .gitea/workflows/deploy.yml
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 1m42s
Details
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 1m42s
Details
This commit is contained in:
parent
f716f7faa9
commit
b10509489b
|
@ -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 }}."
|
||||
|
|
Loading…
Reference in New Issue