1
mirror of https://github.com/RealOrangeOne/notes.git synced 2024-06-17 15:33:48 +01:00

Deploy to GitLab pages

This commit is contained in:
Jake Howard 2022-10-09 18:02:34 +01:00
parent b356503357
commit cb163624cf
Signed by: jake
GPG Key ID: 57AFB45680EDD477

View File

@ -21,18 +21,16 @@ build:
- ./public - ./public
expire_in: 30 mins expire_in: 30 mins
deploy: pages:
image: dokku/ci-docker-image:latest image: alpine:latest
stage: deploy stage: deploy
only: only:
- master - master
environment: environment:
name: notes name: notes
url: https://notes.theorangeone.net url: https://notes.theorangeone.net
variables:
GIT_REMOTE_URL: ssh://dokku@d.theorangeone.net:7743/notes
GIT_PUSH_FLAGS: --force
script: script:
- dokku-deploy - "true"
after_script: artifacts:
- dokku-unlock paths:
- public