2024-01-10 22:22:18 +00:00
|
|
|
steps:
|
|
|
|
build:
|
|
|
|
image: alpine:3.19
|
|
|
|
commands:
|
|
|
|
- apk add --no-cache zola npm
|
|
|
|
- npm install -D tailwindcss @tailwindcss/typography
|
|
|
|
- npx tailwindcss -i input.css -o static/css/index.css --minify
|
|
|
|
- zola build
|
|
|
|
deploy:
|
2024-01-11 12:20:21 +00:00
|
|
|
image: git.polynom.me/papatutuwawa/woodpecker-ssg-deploy@sha256:9cfec13eb8ab1b8920c2f1f00f0258a7bfd159fe4e14e0985328086392c0da34
|
|
|
|
secrets: [ ssh_key ]
|
2024-01-10 22:22:18 +00:00
|
|
|
settings:
|
|
|
|
email: "ci@polynom.me"
|
|
|
|
name: "polynom.me CI system"
|
2024-01-11 12:20:21 +00:00
|
|
|
token_env: "SSH_KEY"
|
2024-01-10 22:22:18 +00:00
|
|
|
output: "public"
|