mirror of
https://gitlab.com/simple-stock-bots/simple-stock-bot.git
synced 2025-06-15 14:56:40 +00:00
Merge branch '113-make-announcement-for-milestone-completion-2' into 'master'
Resolve "Make announcement for Milestone completion" Closes #113 See merge request simple-stock-bots/simple-stock-bot!61
This commit is contained in:
commit
2758c45432
@ -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