parser: add more tolerance for errors in date format #152
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy to AWS | |
on: | |
push: | |
branches: | |
- master | |
workflow_dispatch: | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [14.x] | |
steps: | |
- uses: webfactory/[email protected] | |
with: | |
ssh-private-key: ${{ secrets.DEPLOY_KEY }} | |
- uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: Install Typescript & serverless | |
run: | | |
npm i -g typescript | |
npm i -g serverless | |
- name: Install Dependencies | |
run: npm i | |
- name: Serverless AWS authentication | |
run: sls config credentials --provider aws --key ${{ secrets.ACCESS_KEY_ID }} --secret ${{ secrets.SECRET_ACCESS_KEY }} | |
- name: Copy production env | |
run: 'echo -e "${{secrets.ENV}}" > .env' | |
- name: Database migrations and generate db types | |
run: 'npx prisma migrate deploy && npx prisma generate' | |
- name: Compile typescript | |
run: 'tsc' | |
- name: Deploy Lambda functions | |
run: sls deploy |