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