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