Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
4
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
A
accessnowguides
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Test Cases
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
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
Access Now Helpline
accessnowguides
Commits
38ae212c
Commit
38ae212c
authored
Jan 23, 2020
by
Floriana
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
improved CI script
parent
615f5bf2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
.gitlab-ci.yml
.gitlab-ci.yml
+11
-1
No files found.
.gitlab-ci.yml
View file @
38ae212c
image
:
ruby:2.3
cache
:
paths
:
-
.apt
pages
:
before_script
:
-
export LC_ALL="C.UTF-8"
-
export LANG="en_US.UTF-8"
-
export LANGUAGE="en_US.UTF-8"
# Configure apt chaching
-
echo $CI_PROJECT_DIR
-
export APT_DIR=$CI_PROJECT_DIR/.apt && export APT_STATE_LISTS=$APT_DIR/lists && export APT_CACHE_ARCHIVES=$APT_DIR/archives
-
printf "dir::state::lists ${APT_STATE_LISTS};\ndir::cache::archives ${APT_CACHE_ARCHIVES};\n" > /etc/apt/apt.conf
-
mkdir -p "${APT_STATE_LISTS}/partial" && mkdir -p "${APT_CACHE_ARCHIVES}/partial"
-
apt-get update -y && apt-get install -yq rsync
-
eval $(ssh-agent -s)
-
ssh-add <(echo "$SSH_PRIVATE_KEY")
-
mkdir -p ~/.ssh
...
...
@@ -16,7 +26,7 @@ pages:
-
gem install bundler
-
bundle install
-
bundle exec jekyll build -d public
-
scp -r public/*
git@guides.accessnow.org:/home/git/guides
-
rsync -av --delete public/
git@guides.accessnow.org:/home/git/guides
artifacts
:
paths
:
-
public
...
...
flo
@floriana
mentioned in commit
1dce5be1
·
Jan 23, 2020
mentioned in commit
1dce5be1
mentioned in commit 1dce5be1b277ced9497728fbff4e6ac112bd8f4d
Toggle commit list
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