Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
Base Worker
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Workers
Base Worker
Commits
52229149
Commit
52229149
authored
2 years ago
by
Bastien Abadie
Browse files
Options
Downloads
Patches
Plain Diff
Update CI to ship docs on master & surge
parent
9784321b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!169
Update CI to ship docs on master & surge
Pipeline
#79207
passed
2 years ago
Stage: release
Stage: deploy
Changes
1
Pipelines
4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+49
-0
49 additions, 0 deletions
.gitlab-ci.yml
with
49 additions
and
0 deletions
.gitlab-ci.yml
+
49
−
0
View file @
52229149
...
...
@@ -164,8 +164,57 @@ pages:
stage
:
release
only
:
-
master
-
tags
docs-deploy
:
image
:
node:16
stage
:
release
dependencies
:
-
docs-build
before_script
:
-
npm install -g surge
except
:
-
master
-
tags
-
schedules
environment
:
name
:
${CI_COMMIT_REF_SLUG}
url
:
https://${CI_COMMIT_REF_SLUG}-base-worker-arkindex.surge.sh
on_stop
:
docs-stop-surge
script
:
-
surge public ${CI_ENVIRONMENT_URL}
docs-stop-surge
:
image
:
node:16
stage
:
release
when
:
manual
# Do not try to checkout the branch if it was deleted
variables
:
GIT_STRATEGY
:
none
except
:
-
master
-
tags
-
schedules
environment
:
name
:
${CI_COMMIT_REF_SLUG}
url
:
https://${CI_COMMIT_REF_SLUG}-base-worker-arkindex.surge.sh
action
:
stop
before_script
:
-
npm install -g surge
script
:
-
surge teardown ${CI_ENVIRONMENT_URL}
release-notes
:
stage
:
release
image
:
registry.gitlab.com/teklia/devops:latest
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment