Cambiato runner, cambiata logica.
This commit is contained in:
parent
8b0491ed57
commit
8a68fb931e
|
@ -5,10 +5,9 @@ jobs:
|
||||||
Build:
|
Build:
|
||||||
runs-on: site-builder
|
runs-on: site-builder
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- run: git clone ${{ gitea.repository }}
|
||||||
- run: cd ${{ gitea.repository }}
|
- run: /app/venv/bin/pip install -r conference-site/requirements.txt
|
||||||
- run: /app/venv/bin/pip install -r requirements.txt
|
- run: /app/venv/bin/pelican conference-site/content -o output -s publishconf.py
|
||||||
- run: /app/venv/bin/pelican content -s publishconf.py
|
|
||||||
|
|
||||||
Deploy:
|
Deploy:
|
||||||
runs-on: debian-bookworm
|
runs-on: debian-bookworm
|
||||||
|
@ -16,7 +15,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: ${{ gitea.repository }}/output/
|
SOURCE: 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 }}
|
||||||
|
|
Loading…
Reference in New Issue