Skip to content

Update BTC-USD.csv

Update BTC-USD.csv #45

Workflow file for this run

name: Backend Pipeline
on:
push:
branches:
- main
paths:
- 'backend/**'
- '.github/workflows/backend.yml'
defaults:
run:
working-directory: ./backend
jobs:
deploy:
runs-on: ubuntu-latest
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
steps:
- uses: actions/checkout@v2.3.4
- uses: actions/setup-node@v2.1.5
with:
node-version: '14'
- name: Restore npm cache
uses: actions/cache@v2.1.6
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install dependencies
run: npm ci
- name: Deploy backend
if: github.ref == 'refs/heads/main'
run: npx sls deploy --stage=prod
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_KEY }}
SLS_DEBUG: '*'