Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
See what's new at GitLab
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
1dce5be1
Commit
1dce5be1
authored
Jan 23, 2020
by
flo
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "improved CI script"
This reverts commit
38ae212c
parent
6ac9af59
Pipeline
#111670192
passed with stage
in 1 minute and 45 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
11 deletions
+1
-11
.gitlab-ci.yml
.gitlab-ci.yml
+1
-11
No files found.
.gitlab-ci.yml
View file @
1dce5be1
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
...
...
@@ -26,7 +16,7 @@ pages:
-
gem install bundler
-
bundle install
-
bundle exec jekyll build -d public
-
rsync -av --delete public/
git@guides.accessnow.org:/home/git/guides
-
scp -r public/*
git@guides.accessnow.org:/home/git/guides
artifacts
:
paths
:
-
public
...
...
flo
@floriana
mentioned in commit
bf0ec0d1
·
Jan 23, 2020
mentioned in commit
bf0ec0d1
mentioned in commit bf0ec0d17676aea37730db1fcf98f08c96eba065
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