Fakultas Ilmu Komputer UI
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
remindme-frontend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
RemindMe
remindme-frontend
Commits
28193135
Commit
28193135
authored
3 years ago
by
annisadevin
Browse files
Options
Downloads
Patches
Plain Diff
Update scripts staging gitlab-ci
parent
8d5e8ea8
No related branches found
No related tags found
No related merge requests found
Pipeline
#123183
failed
3 years ago
Stage: staging
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+17
-14
17 additions, 14 deletions
.gitlab-ci.yml
with
17 additions
and
14 deletions
.gitlab-ci.yml
+
17
−
14
View file @
28193135
...
@@ -2,21 +2,24 @@ stages:
...
@@ -2,21 +2,24 @@ stages:
-
test
-
test
-
staging
-
staging
test
:
#
test:
image
:
node:latest
#
image: node:latest
stage
:
test
#
stage: test
script
:
#
script:
-
npm install
#
- npm install
-
npm run test
#
- npm run test
only
:
#
only:
-
master
#
- master
staging
:
staging
:
stage
:
staging
stage
:
staging
script
:
before_script
:
-
apt-get update -qy
-
apt-get install -y ruby-dev
-
gem install dpl
-
gem install dpl
-
dpl --provider=heroku --app=${HEROKU_APP_NAME} --api-key=${HEROKU_API_KEY}
-
wget -qO- https://cli-assets.heroku.com/install-ubuntu.sh | sh
only
:
script
:
-
master
-
dpl --provider=heroku --app=$HEROKU_APP_NAME --api-key=$HEROKU_API_KEY
-
heroku run --app $HEROKU_APP_NAME migrate
environment
:
name
:
production
url
:
https://$HEROKU_APP_NAME.herokuapp.com
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