Update .gitlab-ci.yml

This commit is contained in:
Octo Andri 2022-04-18 22:16:19 +00:00
parent b0b11f07a6
commit 4898dd90e3
1 changed files with 3 additions and 3 deletions

View File

@ -4,8 +4,8 @@ before_script:
- apk update - apk update
- apk add python3 py3-pip wget qt5-qtbase - apk add python3 py3-pip wget qt5-qtbase
- pip3 install -r Source/requirements.txt - pip3 install -r Source/requirements.txt
- #wget "https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/wkhtmltopdf-0.12.6-r0.apk" # - wget "https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/wkhtmltopdf-0.12.6-r0.apk"
- #apk add --allow-untrusted wkhtmltopdf-0.12.6-r0.apk # - apk add --allow-untrusted wkhtmltopdf-0.12.6-r0.apk
pages: pages:
stage: deploy stage: deploy
@ -14,7 +14,7 @@ pages:
- cp -R Source/* public/ - cp -R Source/* public/
- cd public - cd public
- python3 Generate.py - python3 Generate.py
- #wkhtmltoimage --height 720 --quality 0 "https://octospacc.gitlab.io/WebPinBoard/" "Screenshot.png" # - wkhtmltoimage --height 720 --quality 0 "https://octospacc.gitlab.io/WebPinBoard/" "Screenshot.png"
artifacts: artifacts:
paths: paths:
- public - public