From 8b0491ed5799077179810a412e9acd14427db701 Mon Sep 17 00:00:00 2001 From: Emiliano Vavassori Date: Sat, 2 Mar 2024 17:45:24 +0100 Subject: [PATCH] Ancora cambi sulla machinery. --- .gitea/workflows/build-deploy.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/build-deploy.yml b/.gitea/workflows/build-deploy.yml index e048451..7136358 100644 --- a/.gitea/workflows/build-deploy.yml +++ b/.gitea/workflows/build-deploy.yml @@ -5,6 +5,8 @@ jobs: Build: runs-on: site-builder steps: + - uses: actions/checkout@v3 + - run: cd ${{ gitea.repository }} - run: /app/venv/bin/pip install -r requirements.txt - run: /app/venv/bin/pelican content -s publishconf.py @@ -14,7 +16,7 @@ jobs: - uses: easingthemes/ssh-deploy@main env: SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }} - SOURCE: output/ + SOURCE: ${{ gitea.repository }}/output/ REMOTE_HOST: ${{ secrets.REMOTE_HOST }} REMOTE_USER: ${{ secrets.REMOTE_USER }} REMOTE_PORT: ${{ secrets.REMOTE_PORT }}