1
Fork 0
mirror of https://github.com/RealOrangeOne/notes.git synced 2024-12-22 14:25:59 +00: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
expire_in: 30 mins
deploy:
image: dokku/ci-docker-image:latest
pages:
image: alpine:latest
stage: deploy
only:
- master
environment:
name: notes
url: https://notes.theorangeone.net
variables:
GIT_REMOTE_URL: ssh://dokku@d.theorangeone.net:7743/notes
GIT_PUSH_FLAGS: --force
script:
- dokku-deploy
after_script:
- dokku-unlock
- "true"
artifacts:
paths:
- public