Skip to content

Commit

Permalink
Archive lock file
Browse files Browse the repository at this point in the history
  • Loading branch information
bcomnes committed Apr 4, 2022
1 parent 45d5f92 commit 11eaaae
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,9 @@ jobs:
- run: flyctl deploy --remote-only
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
- name: Archive lockfile
uses: actions/upload-artifact@v3
with:
name: pacakge-lock.json
path: package-lock.json

2 changes: 1 addition & 1 deletion fly.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ processes = []
REGISTRATION = 'disabled'

[deploy]
release_command = "npm run migrate -- 0 --no-config && npm run migrate -- --no-config"
release_command = "npm run prod-migrate"

[experimental]
allowed_public_ports = []
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@
"clean": "rimraf public && mkdirp public",
"deps": "depcruise --exclude '^node_modules|^[a-zA-Z0-9\\_]+$' --output-type dot . | dot -T svg > dependencygraph.svg",
"migrate": "postgrator",
"prod-migrate": "postgrator 0 --no-config && postgrator --no-config",
"prepare": "npm run build",
"prepublishOnly": "git push --follow-tags && gh-releas -y",
"prod-sim": "fastify start -l info app.js --address 0.0.0.0",
Expand Down

0 comments on commit 11eaaae

Please sign in to comment.