Corretto workflow per build e deploy.
All checks were successful
build and deploy / build+deploy (push) Successful in 48s

This commit is contained in:
Emiliano Vavassori 2024-03-02 22:09:49 +01:00
parent 8c2e1de334
commit 042ee6a1e4

View File

@ -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/