| 1 | default: |
| 2 | image: debian:latest |
| 3 | |
| 4 | create-pages: |
| 5 | stage: deploy |
| 6 | script: |
| 7 | - apt-get update |
| 8 | - apt-get install -y --no-install-recommends python3 |
| 9 | - cd public |
| 10 | - python3 create-stats.py |
| 11 | pages: |
| 12 | publish: public/build |
| 13 | artifacts: |
| 14 | paths: |
| 15 | - public/build |
| 16 | rules: |
| 17 | - if: $CI_COMMIT_BRANCH == "master" |