Deploy test #7
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 | |
on: | |
push: | |
# branches: | |
# - 'main' | |
env: | |
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true | |
jobs: | |
deploy: | |
runs-on: ubuntu-22.04 | |
container: | |
image: ichikimfw/node-go:14.17.0-1.17.7 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install Serverless CLI | |
run: sudo npm i -g [email protected] | |
- name: Install Serverless Offline | |
run: sudo npm i -g [email protected] | |
- name: Install Serverless utils | |
run: sudo npm i -g @serverless/[email protected] | |
- name: Serverless deploy | |
run: make deploy | |
env: | |
AWS_ACCESS_KEY_ID: ${{secrets.AWS_ACCESS_KEY_ID}} | |
AWS_SECRET_ACCESS_KEY: ${{secrets.AWS_SECRET_ACCESS_KEY}} | |
SLACK_BOT_TOKEN: ${{secrets.SLACK_BOT_TOKEN}} | |
SLACK_SIGNING_SECRET: ${{secrets.SLACK_SIGNING_SECRET}} |