Merge pull request #311 from ucsf-education/auto-update-dependencies #138
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 Dev Build | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- master | |
concurrency: deploy-dev | |
jobs: | |
deploy: | |
name: Deploy Lambda Function | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
- name: install dependencies | |
run: npm ci | |
- name: Serverless Deploy | |
run: npm run deploy:dev | |
env: | |
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
SLACK_SIGNING_SECRET: ${{ secrets.ZORGBORT_STAGE_SLACK_SIGNING_SECRET }} | |
SLACK_BOT_TOKEN: ${{ secrets.ZORGBORT_STAGE_SLACK_BOT_TOKEN }} | |
GITHUB_TOKEN: ${{ secrets.ZORGBORT_TOKEN }} | |
VALID_RELEASE_USERS: ${{ secrets.ZORGBORT_STAGE_VALID_RELEASE_USERS }} |