remove serverless-alexa-skills dependency #108
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 sandbox branch | |
on: | |
push: | |
branches: | |
- sandbox | |
paths-ignore: | |
- 'readme.md' | |
jobs: | |
deploy: | |
name: deploy | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: ['18'] | |
#region: [eu-west-1, us-east-1, us-west-2] | |
region: [eu-west-1] | |
env: | |
LOG_LEVEL: debug # debug | info | notice | warning | error | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 8 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'pnpm' | |
- name: Install dependencies | |
run: pnpm install | |
- name: Serverless deploy to ${{ matrix.region }} | |
uses: serverless/github-action@v3 | |
with: | |
args: deploy --region ${{ matrix.region }} | |
env: | |
IS_PROD: 'FALSE' | |
AWS_DEFAULT_REGION: ${{ matrix.region }} | |
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID_SANDBOX }} | |
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY_SANDBOX }} | |
IOT_ENDPOINT: ${{ secrets.IOT_ENDPOINT_SANDBOX }} | |
SKILL_ID: ${{ secrets.SKILL_ID_SANDBOX }} | |
ALEXA_CLIENT_ID: ${{ secrets.ALEXA_CLIENT_ID_SANDBOX }} | |
ALEXA_CLIENT_SECRET: ${{ secrets.ALEXA_CLIENT_SECRET_SANDBOX }} | |
HASH_SECRET: ${{ secrets.HASH_SECRET_SANDBOX }} | |
VSH_ADMIN_API_KEY: ${{ secrets.VSH_ADMIN_API_KEY_SANDBOX }} | |
STRIPE_API_KEY: ${{ secrets.STRIPE_API_KEY_SANDBOX }} | |
STRIPE_WEBHOOK_SECRET: ${{ secrets.STRIPE_WEBHOOK_SECRET_SANDBOX }} | |
MOMENTO_TOKEN: ${{ secrets.MOMENTO_TOKEN_SANDBOX }} |