Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
poul.org
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
16
Issues
16
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Sito
poul.org
Commits
96a96d56
Verified
Commit
96a96d56
authored
Sep 26, 2019
by
Davide Depau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move stuff to workdir so GitLab will cache it
parent
bbe293c1
Pipeline
#101
failed with stage
in 28 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
.gitlab-ci.yml
.gitlab-ci.yml
+8
-4
No files found.
.gitlab-ci.yml
View file @
96a96d56
...
...
@@ -9,6 +9,8 @@ variables:
GIT_SUBMODULE_STRATEGY
:
recursive
before_script
:
-
mv usr-local-bundle /usr/local/bundle
# Move extracted cache to its
-
mv home-bundle ~/.bundle
# original place
-
apk add npm
-
npm install
-
bundle install
...
...
@@ -16,6 +18,8 @@ before_script:
-
jekyll build -d public
-
./scripts/purgecss.sh public
-
./scripts/minifycssjs.sh public
-
mv /usr/local/bundle usr-local-bundle
# Move cache to workdir so
-
mv ~/.bundle home-bundle
# that GitLab will pick it up
deploy-prod
:
stage
:
deploy
...
...
@@ -29,9 +33,9 @@ deploy-prod:
cache
:
key
:
build-deps
paths
:
-
"
/usr/local/
bundle/"
-
"
usr-local-
bundle/"
-
"
node_modules/"
-
"
$HOME/.
bundle"
-
"
home-
bundle"
only
:
-
master
...
...
@@ -45,8 +49,8 @@ pages:
cache
:
key
:
build-deps
paths
:
-
"
/usr/local/
bundle/"
-
"
usr-local-
bundle/"
-
"
node_modules/"
-
"
$HOME/.
bundle"
-
"
home-
bundle"
only
:
-
develop
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment