Skip to content

Commit

Permalink
Fix staging pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
fkling committed Nov 14, 2019
1 parent 465fd42 commit b36612a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ review:
stage: review
script:
- rsync -av out/ /data/astexplorer/website-new/$CI_BUILD_REF_SLUG
- rm -rf out/
variables:
GIT_STRATEGY: none
environment:
Expand Down Expand Up @@ -62,6 +63,7 @@ latest:
stage: latest
script:
- rsync -rv --delete out/ /data/astexplorer/website-new/master/
- rm -rf out/
variables:
GIT_STRATEGY: none
environment:
Expand Down Expand Up @@ -98,12 +100,12 @@ staging:
dependencies:
- build-prod
variables:
GIT_STRATEGY: none
deploy_path: /data/astexplorer/website-new/staging/
script:
- ./scripts/check-conflicts.sh out/ $deploy_path
- rsync -rv out/ $deploy_path
variables:
GIT_STRATEGY: none
- rm -rf out/
environment:
name: staging
url: http://staging.astexplorer.net
Expand All @@ -121,6 +123,7 @@ production:
script:
- ./scripts/check-conflicts.sh out/ $deploy_path
- rsync -rv out/ $deploy_path
- rm -rf out/
environment:
name: production
url: https://astexplorer.net/
Expand Down

0 comments on commit b36612a

Please sign in to comment.