.gitlab-ci.yml
ASCII text
1image: busybox:latest 2 3build: 4stage: build 5image: python:latest 6script: 7- python3 -m pip install -r requirements.txt 8- python3 build.py gh-pages-deploy 9 10pages: 11stage: deploy 12script: 13- echo "The site will be deployed to $CI_PAGES_URL" 14artifacts: 15paths: 16- build 17rules: 18- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH 19 20