1
0
mirror of https://gitlab.com/simple-stock-bots/simple-stock-bot.git synced 2025-06-16 07:16:40 +00:00

Resolve "Make announcement for Milestone completion"

This commit is contained in:
Anson Biggs 2023-10-17 05:43:32 +00:00
parent 8a78ab5f55
commit c717739b75
2 changed files with 6 additions and 8 deletions

View File

@ -1,9 +1,7 @@
stages: stages:
- lint - lint
- build
- build_site - build_site
- deploy - deploy
- deploy_site
black: black:
stage: lint stage: lint

View File

@ -1,7 +1,7 @@
image: python:3.11 image: python:3.11
build_site: build_mkdocs:
stage: build stage: build_site
script: script:
- cd ./site - cd ./site
- pip install -r requirements.txt - pip install -r requirements.txt
@ -10,14 +10,14 @@ build_site:
paths: paths:
- public - public
deploy_site: pages:
stage: deploy stage: deploy
script: script:
- echo "Publishing site..." - echo "Publishing site..."
dependencies: dependencies:
- build_site - build_mkdocs
artifacts: artifacts:
paths: paths:
- public - public
rules: # rules:
- if: "$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH" # - if: "$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH"