Move to my own deployment plugin
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
PapaTutuWawa 2024-01-05 22:43:25 +01:00
parent 11af123adf
commit 88bf5110f9

View File

@ -6,17 +6,11 @@ steps:
- npm install -D tailwindcss @tailwindcss/typography - npm install -D tailwindcss @tailwindcss/typography
- npx tailwindcss -i input.css -o static/css/index.css --minify - npx tailwindcss -i input.css -o static/css/index.css --minify
- zola build - zola build
- ls -l
deploy: deploy:
image: alpine:3.19 image: git.polynom.me/papatutuwawa/woodpecker-ssg-deploy@sha256:c7e2e8ad5d096ca6a628ffbbfa1026dce21784305f6069985d830c4167abcbda
secrets: [ git_push_token ] secrets: [ git_push_token ]
commands: settings:
- apk add --no-cache git email: "ci@polynom.me"
- git config --global user.email "ci@polynom.me" name: "polynom.me CI system"
- git config --global user.name "polynom.me CI system" token_env: "GIT_PUSH_TOKEN"
- git config --global --add safe.directory $CI_WORKSPACE/$CI_REPO_OWNER/$CI_REPO_NAME/deploy output: "public"
- git init -b pages public
- cd public
- git add --all
- git commit -m "Deploy new version $CI_COMMIT_SHA"
- git push -u https://$GIT_PUSH_TOKEN@git.polynom.me/$CI_REPO_OWNER/$CI_REPO_NAME.git -f pages