Corretto workflow per build e deploy.
This commit is contained in:
parent
8c2e1de334
commit
042ee6a1e4
|
@ -2,16 +2,12 @@
|
||||||
name: build and deploy
|
name: build and deploy
|
||||||
on: [push]
|
on: [push]
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build+deploy:
|
||||||
runs-on: site-builder
|
runs-on: site-builder
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- run: /venv/bin/pip install -r requirements.txt
|
- run: /venv/bin/pip install -r requirements.txt
|
||||||
- run: /venv/bin/pelican content -s publishconf.py
|
- run: /venv/bin/pelican content -s publishconf.py
|
||||||
|
|
||||||
deploy:
|
|
||||||
runs-on: site-deployer
|
|
||||||
steps:
|
|
||||||
- uses: burnett01/rsync-deployments@6.0.0
|
- uses: burnett01/rsync-deployments@6.0.0
|
||||||
with:
|
with:
|
||||||
path: output/
|
path: output/
|
||||||
|
|
Loading…
Reference in New Issue