mirror of
https://gitlab.com/simple-stock-bots/simple-stock-bot.git
synced 2025-07-27 08:31:41 +00:00
add prettier
This commit is contained in:
@@ -1,23 +1,23 @@
|
||||
image: python:3.11
|
||||
|
||||
build_site:
|
||||
stage: build
|
||||
script:
|
||||
- cd ./site
|
||||
- pip install -r requirements.txt
|
||||
- mkdocs build --site-dir ../public --verbose
|
||||
artifacts:
|
||||
paths:
|
||||
- public
|
||||
|
||||
deploy_site:
|
||||
stage: deploy
|
||||
script:
|
||||
- echo "Publishing site..."
|
||||
dependencies:
|
||||
- build_site
|
||||
artifacts:
|
||||
paths:
|
||||
- public
|
||||
rules:
|
||||
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
|
||||
image: python:3.11
|
||||
|
||||
build_site:
|
||||
stage: build
|
||||
script:
|
||||
- cd ./site
|
||||
- pip install -r requirements.txt
|
||||
- mkdocs build --site-dir ../public --verbose
|
||||
artifacts:
|
||||
paths:
|
||||
- public
|
||||
|
||||
deploy_site:
|
||||
stage: deploy
|
||||
script:
|
||||
- echo "Publishing site..."
|
||||
dependencies:
|
||||
- build_site
|
||||
artifacts:
|
||||
paths:
|
||||
- public
|
||||
rules:
|
||||
- if: "$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH"
|
||||
|
Reference in New Issue
Block a user