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
1 changed files with 6 additions and 8 deletions

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