fix domain :D #127
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: Deployment-Serverless(AWS) | |
# on: | |
# push: | |
# branches: | |
# - master | |
# jobs: | |
# deployment-aws: | |
# name: Deploy AWS | |
# runs-on: ubuntu-latest | |
# strategy: | |
# matrix: | |
# node-version: [16.x] | |
# steps: | |
# - uses: actions/checkout@v2 | |
# - name: Use Node.js ${{ matrix.node-version }} | |
# uses: actions/setup-node@v1 | |
# with: | |
# node-version: ${{ matrix.node-version }} | |
# - name: Install Serverless Framework | |
# run: npm install -g serverless | |
# - run: npm install | |
# - name: migrations | |
# run: npm run typeorm migration:run -- -f src/ormconfig.ts | |
# env: | |
# DATABASE_URL: ${{ secrets.DATABASE_URL }} | |
# - name: Serverless AWS authentication | |
# run: sls config credentials --provider aws --key ${{ secrets.AWS_ACCESS_KEY_ID }} --secret ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
# - name: Serverless AWS deployment | |
# run: sls deploy | |
# env: | |
# BASIC_TOKEN_AP: ${{ secrets.BASIC_TOKEN_AP }} | |
# BASIC_TOKEN_EU: ${{ secrets.BASIC_TOKEN_EU }} | |
# BASIC_TOKEN_EL: ${{ secrets.BASIC_TOKEN_EL }} | |
# BASIC_TOKEN_US: ${{ secrets.BASIC_TOKEN_US }} | |
# DATABASE_URL: ${{ secrets.DATABASE_URL }} | |
# MCD_DEVICEID: ${{ secrets.MCD_DEVICEID }} | |
# KEY: ${{ secrets.KEY }} | |
# API_KEY_AP: ${{ secrets.API_KEY_AP }} | |
# EXPORT_BUCKET: ${{ secrets.EXPORT_BUCKET }} |