mirror of
https://github.com/alexgo-io/peggedassets-server.git
synced 2026-01-12 16:53:14 +08:00
* rewrite server * add docker config * update start script * chore: Remove unused INFLUXDB_TOKEN from deployment workflow and env files * use node v20 * fix dockerfile * Update cache initialization to remove duplicate await keyword Update API endpoint for fetching historical rates * fix api2 bug * hardcode UST to 0 * remove subpath --------- Co-authored-by: 0xngmi <0xngmi@protonmail.com>
23 lines
524 B
YAML
23 lines
524 B
YAML
name: Deploy
|
|
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
|
|
jobs:
|
|
deploy:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Get Node.js
|
|
uses: actions/setup-node@v1
|
|
with:
|
|
node-version: '16'
|
|
- run: npm ci
|
|
- name: Deploy infrastructure stack
|
|
run: npm run deploy:dev
|
|
env:
|
|
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
|
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
|
OUTDATED_WEBHOOK: ${{ secrets.OUTDATED_WEBHOOK }}
|