mirror of
https://github.com/RealOrangeOne/notes.git
synced 2024-12-22 15:35:59 +00:00
Deploy to GitLab pages
This commit is contained in:
parent
b356503357
commit
cb163624cf
1 changed files with 6 additions and 8 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue