- name: Setup Node.js
uses: actions/setup-node@v3
- with:
+ with:
node-version: '18.7.0'
cache: 'npm'
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
with:
args: |
- 🚀 New deployment to Digital Ocean completed!
+ 🚀 New Version Deployed!
Changes in this deployment:
- ${{ join(github.event.commits.*.message, '\n') }}
-
- Deployed by: ${{ github.actor }}
-
\ No newline at end of file
+ - ${{ join(github.event.commits.*.message, '\\n- ') }}
+
+ Full changelog: https://risinglegends.net/changelog
\ No newline at end of file
"scripts": {
"start": "TS_NODE_BASEURL=./dist node -r tsconfig-paths/register dist/src/server/api.js",
"build": "npx tsc && npx webpack",
- "postbuild": "cp -R public dist/",
+ "postbuild": "cp -R public dist/ && cp CHANGELOG.md dist/",
"migrate": "npx ts-node ./node_modules/knex/bin/cli.js migrate:latest",
"migrate:prod": "NODE_ENV=production npx ts-node ./node_modules/knex/bin/cli.js migrate:latest",
"seed": "npx ts-node ./node_modules/knex/bin/cli.js seed:run",