pages/.woodpecker/build-site.yml
Thomas A. Christensen II 8b2cdb8f2f
All checks were successful
ci/woodpecker/manual/build-site Pipeline was successful
ci: Remove git-crypt from deployment script
2024-12-01 19:49:37 -07:00

21 lines
469 B
YAML

when:
branch: "master"
steps:
- name: Install Node packages
image: node:18.14.2-slim
commands:
- npm ci
- name: Build Hugo site
image: peaceiris/hugo:v0.111.3-full
environment:
HUGO_ENV: production
HUGO_ENVIRONMENT: production
commands:
- hugo --minify
- name: Deploy to pages
image: codeberg.org/xfix/plugin-codeberg-pages-deploy:1
settings:
folder: public
ssh_key:
from_secret: ssh_key