parent
7cf4d7a75a
commit
2cd4bb70f5
1 changed files with 6 additions and 5 deletions
|
@ -10,10 +10,10 @@ jobs:
|
||||||
- name: Checkout Repository
|
- name: Checkout Repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
# - name: Install Dependencies
|
- name: Install Dependencies
|
||||||
# run: |
|
run: |
|
||||||
# apt-get update
|
apt-get update
|
||||||
# apt-get install -y golang-go
|
apt-get install -y rsync
|
||||||
|
|
||||||
- name: Setup Hugo
|
- name: Setup Hugo
|
||||||
uses: https://github.com/peaceiris/actions-hugo@v2
|
uses: https://github.com/peaceiris/actions-hugo@v2
|
||||||
|
@ -25,7 +25,8 @@ jobs:
|
||||||
run: hugo
|
run: hugo
|
||||||
|
|
||||||
- name: Deploy to SSH Host
|
- name: Deploy to SSH Host
|
||||||
run: rsync -avz --delete -e "ssh -i ${{ secrets.SSH_PRIV_KEY }} -o StrictHostKeyChecking=no" ./public/ wiki-deploy@${{ secrets.SSH_HOST }}:/var/www/wiki.lunivity.com/
|
run: |
|
||||||
|
rsync -avz --delete -e "ssh -i ${{ secrets.SSH_PRIV_KEY }} -o StrictHostKeyChecking=no" ./public/ wiki-deploy@${{ secrets.SSH_HOST }}:/var/www/wiki.lunivity.com/
|
||||||
|
|
||||||
# - name: Deploy to SSH Host
|
# - name: Deploy to SSH Host
|
||||||
# uses: https://github.com/Creepios/sftp-action@v1.0.5
|
# uses: https://github.com/Creepios/sftp-action@v1.0.5
|
||||||
|
|
Loading…
Reference in a new issue