Files
g1nt0ki e77454eb62 migrate api server (#341)
* 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>
2024-06-10 20:11:23 +02:00

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 }}