This commit is contained in:
parent
11af123adf
commit
7c05947518
@ -6,17 +6,11 @@ steps:
|
||||
- npm install -D tailwindcss @tailwindcss/typography
|
||||
- npx tailwindcss -i input.css -o static/css/index.css --minify
|
||||
- zola build
|
||||
- ls -l
|
||||
deploy:
|
||||
image: alpine:3.19
|
||||
image: git.polynom.me/papatutuwawa/woodpecker-ssg-deploy:latest
|
||||
secrets: [ git_push_token ]
|
||||
commands:
|
||||
- apk add --no-cache git
|
||||
- git config --global user.email "ci@polynom.me"
|
||||
- git config --global user.name "polynom.me CI system"
|
||||
- git config --global --add safe.directory $CI_WORKSPACE/$CI_REPO_OWNER/$CI_REPO_NAME/deploy
|
||||
- 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
|
||||
settings:
|
||||
email: "ci@polynom.me"
|
||||
name: "polynom.me CI system"
|
||||
token_env: "GIT_PUSH_TOKEN"
|
||||
output: "public"
|
Loading…
Reference in New Issue
Block a user