2022-04-08 12:27:00 +00:00
|
|
|
pipeline:
|
2022-04-09 13:55:14 +00:00
|
|
|
build:
|
|
|
|
image: python
|
|
|
|
when:
|
|
|
|
event: [ push, pull_request, tag, deployment ]
|
2022-04-08 12:27:00 +00:00
|
|
|
commands:
|
2022-04-16 03:05:43 +00:00
|
|
|
- git config --global user.email "$CI_COMMIT_AUTHOR_EMAIL"
|
|
|
|
- git config --global user.name "$CI_COMMIT_AUTHOR"
|
2022-04-09 13:55:14 +00:00
|
|
|
- make env
|
|
|
|
- make
|
2022-04-16 03:01:34 +00:00
|
|
|
- ./scripts/zola.sh deploy pages public "$CI_COMMIT_AUTHOR <$CI_COMMIT_AUTHOR_EMAIL>"
|
2022-04-16 02:53:24 +00:00
|
|
|
- ./scripts/ci.sh --init $HOSTEA_WRITE_DEPLOY_KEY
|
|
|
|
- ./scripts/ci.sh --deploy $PAGES_DEPLOY_SECRET pages
|
|
|
|
- ./scripts/ci.sh --clean
|