deploy to pages
This commit is contained in:
parent
8b35382c6c
commit
88574c174b
1 changed files with 19 additions and 13 deletions
|
|
@ -1,13 +1,19 @@
|
|||
# You can override the included template(s) by including variable overrides
|
||||
# SAST customization: https://docs.gitlab.com/ee/user/application_security/sast/#customizing-the-sast-settings
|
||||
# Secret Detection customization: https://docs.gitlab.com/ee/user/application_security/secret_detection/pipeline/#customization
|
||||
# Dependency Scanning customization: https://docs.gitlab.com/ee/user/application_security/dependency_scanning/#customizing-the-dependency-scanning-settings
|
||||
# Container Scanning customization: https://docs.gitlab.com/ee/user/application_security/container_scanning/#customizing-the-container-scanning-settings
|
||||
# Note that environment variables can be set in several places
|
||||
# See https://docs.gitlab.com/ee/ci/variables/#cicd-variable-precedence
|
||||
stages:
|
||||
- test
|
||||
sast:
|
||||
stage: test
|
||||
include:
|
||||
- template: Security/SAST.gitlab-ci.yml
|
||||
image: debian:stable
|
||||
|
||||
before_script:
|
||||
- apt update
|
||||
- apt install -y make curl unzip
|
||||
|
||||
pages:
|
||||
script:
|
||||
- make
|
||||
- mkdir -p public/{css,js}
|
||||
- cp -r index.html public/index.html
|
||||
- cp -r css/bulma.min.js public/css/bulma.min.js
|
||||
- cp -r js/index.js public/js/index.js
|
||||
- cp -r js/qr-creator.min.js public/js/qr-creator.min.js
|
||||
artifacts:
|
||||
paths:
|
||||
- public
|
||||
rules:
|
||||
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
|
||||
|
|
|
|||
Loading…
Reference in a new issue