Ancora cambi sulla machinery.

This commit is contained in:
Emiliano Vavassori 2024-03-02 17:45:24 +01:00
parent 1ed241c0c9
commit 8b0491ed57
1 changed files with 3 additions and 1 deletions

View File

@ -5,6 +5,8 @@ jobs:
Build: Build:
runs-on: site-builder runs-on: site-builder
steps: steps:
- uses: actions/checkout@v3
- run: cd ${{ gitea.repository }}
- run: /app/venv/bin/pip install -r requirements.txt - run: /app/venv/bin/pip install -r requirements.txt
- run: /app/venv/bin/pelican content -s publishconf.py - run: /app/venv/bin/pelican content -s publishconf.py
@ -14,7 +16,7 @@ jobs:
- uses: easingthemes/ssh-deploy@main - uses: easingthemes/ssh-deploy@main
env: env:
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }} SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
SOURCE: output/ SOURCE: ${{ gitea.repository }}/output/
REMOTE_HOST: ${{ secrets.REMOTE_HOST }} REMOTE_HOST: ${{ secrets.REMOTE_HOST }}
REMOTE_USER: ${{ secrets.REMOTE_USER }} REMOTE_USER: ${{ secrets.REMOTE_USER }}
REMOTE_PORT: ${{ secrets.REMOTE_PORT }} REMOTE_PORT: ${{ secrets.REMOTE_PORT }}