Skip to content

added ci back in

added ci back in #22

Workflow file for this run

on:
push:
branches: ["main"]
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
environment: deploy
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-east-1
- name: Setup Go environment
uses: actions/[email protected]
with:
go-version: '^1.17.0'
- name: Setup Node.js environment
uses: actions/[email protected]
- name: Install
run: make install
- name: Write Backend Config File
uses: DamianReeves/[email protected]
with:
path: fns/config.yml
contents: |
mailTo: ${{ secrets.SNS_EMAIL }}
certArn: ${{ secrets.CERT_ARN }}
nonceKey: "${{ secrets.NONCE_KEY }}"
- name: Deploy Backend
run: make deploy-fns
- name: Deploy Frontend
run: make deploy-site