From e46cf8ec5e04bb0269b0e0744fe1d29331292b61 Mon Sep 17 00:00:00 2001 From: Emiliano Vavassori Date: Sat, 2 Mar 2024 22:38:44 +0100 Subject: [PATCH] Spiegati passaggi build. --- .gitea/workflows/build-deploy.yml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/build-deploy.yml b/.gitea/workflows/build-deploy.yml index 65284f5..dc6e210 100644 --- a/.gitea/workflows/build-deploy.yml +++ b/.gitea/workflows/build-deploy.yml @@ -5,10 +5,14 @@ jobs: build+deploy: runs-on: site-builder steps: - - uses: actions/checkout@v4 - - run: /venv/bin/pip install -r requirements.txt - - run: /venv/bin/pelican content -s publishconf.py - - uses: burnett01/rsync-deployments@6.0.0 + - name: Pull del repository + uses: actions/checkout@v4 + - name: Installazione dipendenze sito + run: /venv/bin/pip install -r requirements.txt + - name: Compilazione del sito + run: /venv/bin/pelican content -s publishconf.py + - name: Trasferimento del sito + uses: burnett01/rsync-deployments@6.0.0 with: switches: -avz --delete path: output/ @@ -17,7 +21,8 @@ jobs: remote_user: ${{ secrets.REMOTE_USER }} remote_key: ${{ secrets.SSH_PRIVATE_KEY }} remote_path: /var/www/conference - - uses: appleboy/ssh-action@v1.0.3 + - name: Sistemazione permessi + uses: appleboy/ssh-action@v1.0.3 with: host: ${{ secrets.REMOTE_HOST }} port: ${{ secrets.REMOTE_PORT }}