Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Decidim Theme
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
External wiki
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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Decidim
VocaCity
Decidim Theme
Commits
cd62003c
Commit
cd62003c
authored
1 year ago
by
Hadrien Froger
Browse files
Options
Downloads
Patches
Plain Diff
ci: refactor
parent
92191cff
Branches
Branches containing commit
Tags
v0.1.4
Tags containing commit
No related merge requests found
Pipeline
#28726
failed
1 year ago
Stage: publish
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+7
-21
7 additions, 21 deletions
.gitlab-ci.yml
with
7 additions
and
21 deletions
.gitlab-ci.yml
+
7
−
21
View file @
cd62003c
stages
:
-
build
-
publish
build_gem
:
image
:
ruby
stage
:
build
script
:
-
gem build decidim-theme.gemspec
artifacts
:
paths
:
-
decidim-theme-*.gem
only
:
-
tags
publish_gem
:
image
:
ruby
stage
:
publish
script
:
-
mkdir ~/.gem
-
echo "---" > ~/.gem/credentials
-
echo "---" > .credentials
-
|
echo ":rubygems_api_key: '${RUBYGEMS_API_KEY}'" >> ~/.gem/credentials
-
chmod 0600 ~/.gem/credentials
-
gem push decidim-theme-*.gem
dependencies
:
-
build_gem
echo ":ci_rubygems_api_key: $GEM_HOST_API_KEY" >> .credentials
-
chmod 0600 .credentials
-
gem build decidim-theme.gemspec
-
gem push decidim-theme-*.gem -k ci_rubygems_api_key --config-file .credentials
only
:
-
tags
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