Skip to content

Commit

Permalink
Stage CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Wilson committed Mar 6, 2023
1 parent 578fb15 commit 4afc811
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,19 @@ linting:
rules:
- if: $CI_MERGE_REQUEST_ID # Execute jobs in merge request context
- if: $CI_COMMIT_BRANCH == 'master' # Execute jobs when a new commit is pushed to master branch
script:
before_script:
- *install_prerequesites_pip
script:
- yamllint devices.yml

pages:
stage: generate_documentation
rules:
- if: $CI_COMMIT_BRANCH == 'master' # Execute jobs when a new commit is pushed to master branch
script:
before_script:
- *install_prerequesites_pip
- *setup_for_html
script:
- ./bin/generate_devices_stats.py
- ./bin/generate_devices_table.py
- ./bin/generate_images_overview.py
Expand Down

0 comments on commit 4afc811

Please sign in to comment.