Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
Literature Hub
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MCC APSIS
Living Evidence Maps
Literature Hub
Commits
899db31e
Commit
899db31e
authored
11 months ago
by
Tim Repke
Browse files
Options
Downloads
Patches
Plain Diff
gitlab ci
parent
9e206985
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+11
-0
11 additions, 0 deletions
README.md
with
11 additions
and
0 deletions
README.md
+
11
−
0
View file @
899db31e
...
@@ -103,3 +103,14 @@ Then test and restart:
...
@@ -103,3 +103,14 @@ Then test and restart:
sudo
nginx
-t
sudo
nginx
-t
sudo
systemctl restart nginx.service
sudo
systemctl restart nginx.service
```
```
## Deployment
```
$ cat /etc/sudoers.d/gitlab
gitlab-runner ALL= NOPASSWD: /usr/bin/chown -R gitlab-runner\:gitlab-runner /var/www/lithub/literature-hub
gitlab-runner ALL= NOPASSWD: /usr/bin/chown -R lithub\:lithub /var/www/lithub/literature-hub
gitlab-runner ALL= NOPASSWD: /usr/bin/systemctl stop lithub.service
gitlab-runner ALL= NOPASSWD: /usr/bin/systemctl start lithub.service
gitlab-runner ALL= NOPASSWD: /usr/bin/systemctl status lithub.service
```
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