Skip to content

Merge pull request #13 from subspace/ft/fixWorkflowCommand #3

Merge pull request #13 from subspace/ft/fixWorkflowCommand

Merge pull request #13 from subspace/ft/fixWorkflowCommand #3

on:
push:
branches:
- main
jobs:
build-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: aws-actions/setup-sam@v1
- 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: ${{ secrets.AWS_REGION }}
- name: NPM Clean Install
run: cd discord-bot && npm ci
- name: Deploy Serverless Bot on AWS
run: cd discord-bot && npm run deploy