Skip to content

Commit

Permalink
Set up deployment process
Browse files Browse the repository at this point in the history
5apps Deploy supports build directories now, so we'll check in the
release with the version commits.
  • Loading branch information
raucao committed Mar 5, 2020
1 parent aba4860 commit e01144f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 45 deletions.
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,14 @@
"start": "SW_DISABLED=true ember serve",
"test": "SW_DISABLED=true ember test",
"build": "SW_DISABLED=true npm run clean:dist && ember build",
"build:dist": "npm run clean:dist && ember build -prod && bash scripts/update-versionfile",
"deploy": "bash scripts/deploy",
"deploy:staging": "bash scripts/deploy-staging",
"build:prod": "npm run clean:dist && ember build -prod --output-path release",
"version": "npm run build:prod && git add release/",
"deploy:staging": "git push 5apps_staging master",
"deploy": "git push 5apps master",
"lint:hbs": "ember-template-lint .",
"lint:js": "eslint .",
"postinstall": "bower install",
"clean:dist": "rm -rf dist/*"
"clean:dist": "rm -rf release/*"
},
"devDependencies": {
"@ember/jquery": "^0.5.2",
Expand Down
16 changes: 0 additions & 16 deletions scripts/deploy

This file was deleted.

15 changes: 0 additions & 15 deletions scripts/deploy-staging

This file was deleted.

10 changes: 0 additions & 10 deletions scripts/update-versionfile

This file was deleted.

0 comments on commit e01144f

Please sign in to comment.