Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
cleaning-portalmec
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package 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
Show more breadcrumbs
Richard Fernando Heise Ferreira
cleaning-portalmec
Commits
c03b8698
Commit
c03b8698
authored
6 years ago
by
Marllon
Committed by
Israel Barreto Sant'Anna
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
api document script
parent
89a6e36f
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+21
-7
21 additions, 7 deletions
.gitlab-ci.yml
docploy.sh
+26
-0
26 additions, 0 deletions
docploy.sh
with
47 additions
and
7 deletions
.gitlab-ci.yml
+
21
−
7
View file @
c03b8698
...
@@ -17,6 +17,7 @@ variables:
...
@@ -17,6 +17,7 @@ variables:
stages
:
stages
:
-
test
-
test
-
apidoc
-
deploy
-
deploy
before_script
:
before_script
:
...
@@ -43,10 +44,23 @@ test:
...
@@ -43,10 +44,23 @@ test:
-
elasticsearch
-
elasticsearch
-
redis
-
redis
doc
:
stage
:
apidoc
script
:
-
bundle exec rake db:migrate:reset RAILS_ENV=test
-
bundle exec rake docs:generate
-
./docploy.sh
only
:
-
stable
tags
:
-
ruby
-
postgres
-
elasticsearch
-
redis
# deploy:
# deploy:
# stage: deploy
# stage: deploy
# script:
# script:
# - mina deploy
#
#
- mina deploy
# only:
# only:
# - master
# - master
# tags:
# tags:
...
...
This diff is collapsed.
Click to expand it.
docploy.sh
0 → 100755
+
26
−
0
View file @
c03b8698
#!/bin/bash
# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
# Departamento de Informatica - Universidade Federal do Parana
#
# This file is part of portalmec.
#
# portalmec is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# portalmec is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with portalmec. If not, see <http://www.gnu.org/licenses/>.
eval
"
$(
ssh-agent
-s
)
"
ssh-add <
(
echo
"
$SSH_KEY_PROD
"
)
scp
-o
StrictHostKeyChecking
=
no
-o
UserKnownHostsFile
=
/dev/null
-r
/builds/portalmec/portalmec/doc/
$SSH_HOST_PROD
:/home/portalmec/
\ No newline at end of file
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