diff --git a/.forgejo/workflows/deploy.yml b/.forgejo/workflows/deploy.yml index 0a16a35..0f40a72 100644 --- a/.forgejo/workflows/deploy.yml +++ b/.forgejo/workflows/deploy.yml @@ -10,10 +10,10 @@ jobs: - name: Checkout Repository uses: actions/checkout@v4 - # - name: Install Dependencies - # run: | - # apt-get update - # apt-get install -y golang-go + - name: Install Dependencies + run: | + apt-get update + apt-get install -y rsync - name: Setup Hugo uses: https://github.com/peaceiris/actions-hugo@v2 @@ -25,7 +25,8 @@ jobs: run: hugo - 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 # uses: https://github.com/Creepios/sftp-action@v1.0.5