mirror of
https://gitlab.com/simple-stock-bots/simple-stock-bot.git
synced 2025-06-15 14:56:40 +00:00
Resolve "Make announcement for Milestone completion"
This commit is contained in:
parent
8a78ab5f55
commit
c717739b75
@ -1,9 +1,7 @@
|
||||
stages:
|
||||
- lint
|
||||
- build
|
||||
- build_site
|
||||
- deploy
|
||||
- deploy_site
|
||||
|
||||
black:
|
||||
stage: lint
|
||||
|
@ -1,7 +1,7 @@
|
||||
image: python:3.11
|
||||
|
||||
build_site:
|
||||
stage: build
|
||||
build_mkdocs:
|
||||
stage: build_site
|
||||
script:
|
||||
- cd ./site
|
||||
- pip install -r requirements.txt
|
||||
@ -10,14 +10,14 @@ build_site:
|
||||
paths:
|
||||
- public
|
||||
|
||||
deploy_site:
|
||||
pages:
|
||||
stage: deploy
|
||||
script:
|
||||
- echo "Publishing site..."
|
||||
dependencies:
|
||||
- build_site
|
||||
- build_mkdocs
|
||||
artifacts:
|
||||
paths:
|
||||
- public
|
||||
rules:
|
||||
- if: "$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH"
|
||||
# rules:
|
||||
# - if: "$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH"
|
||||
|
Loading…
x
Reference in New Issue
Block a user