diff --git a/.github/workflows/serverless-deploy.yml b/.github/workflows/serverless-deploy.yml deleted file mode 100644 index 16d536a..0000000 --- a/.github/workflows/serverless-deploy.yml +++ /dev/null @@ -1,34 +0,0 @@ -name: Serverless-deploy CD - -on: - push: - branches: [ "develop" ] - pull_request: - branches: [ "develop" ] - -jobs: - deploy: - name: deploy - runs-on: ubuntu-latest - strategy: - matrix: - node-version: [14.17.0] - steps: - - uses: actions/checkout@v2 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 - with: - node-version: ${{ matrix.node-version }} - - name: Downgrade serverless - run: npm i -g serverless@1.80.0 - - name: Install dependencies - run: yarn - - name: CI - run: yarn ci - - name: serverless deploy - uses: serverless/github-action@master - with: - args: deploy --stage devel - env: - AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} - AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} \ No newline at end of file