Skip to content

Commit

Permalink
Merge pull request #196 from solocommand/travis-deployments
Browse files Browse the repository at this point in the history
Fix TravisCI deployments
  • Loading branch information
zarathustra323 authored Jun 18, 2020
2 parents 5cc3313 + 7ae514c commit 7186f96
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 17 deletions.
26 changes: 10 additions & 16 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ _production-env: &production-env

_production-job: &production-job
stage: production
node_js: 10
name: SERVICE_NAME
script: scripts/deploy.js SERVICE_NAME
install: skip
Expand All @@ -20,6 +21,7 @@ _production-job: &production-job

# _staging-job: &staging-job
# stage: staging
# node_js: 10
# name: SERVICE_NAME
# script: scripts/deploy.js SERVICE_NAME
# install: skip
Expand Down Expand Up @@ -49,19 +51,15 @@ jobs:
env:
NODE_ENV: test

- stage: production-started
- <<: *production-job
stage: production-started
name: Deployment Started
script: npx @base-cms/website-deployment-tool notify-started
install: skip
env:
<<: *production-env

# - stage: staging-started
# - <<: *staging-job
# stage: staging-started
# name: Deployment Started
# script: npx @base-cms/website-deployment-tool notify-started
# install: skip
# env:
# <<: *staging-env

#############################
# vvv ADD SERVICES HERE vvv #
Expand All @@ -78,16 +76,12 @@ jobs:
# ^^^ ADD SERVICES HERE ^^^ #
#############################

- stage: production-finished
- <<: *production-job
stage: production-finished
name: Deployment Finished
script: npx @base-cms/website-deployment-tool notify-finished
install: skip
env:
<<: *production-env

# - stage: staging-finished
# - <<: *staging-job
# stage: staging-finished
# name: Deployment Finished
# script: npx @base-cms/website-deployment-tool notify-finished
# install: skip
# env:
# <<: *staging-env
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fortnight-graph",
"version": "1.2.0",
"version": "1.2.1",
"main": "src/index.js",
"repository": "https://github.com/cygnusb2b/fortnight-graph.git",
"author": "Jacob Bare <[email protected]>",
Expand Down

0 comments on commit 7186f96

Please sign in to comment.