Skip to content

fix(ci-cd): deploy on feature branch to test continuous delivery #30

fix(ci-cd): deploy on feature branch to test continuous delivery

fix(ci-cd): deploy on feature branch to test continuous delivery #30

Workflow file for this run

---
name: Publish to the Serverless Repository
# concurrency:
# group: production
# cancel-in-progress: true
env:
TAGGED_VERSION: ${{github.ref_name}}
# yamllint disable-line rule:truthy
on: push
# tags:
# - "*"
jobs:
# deploy:
Deploy:
strategy:
matrix:
python-version: ["3.11"]
runs-on: ubuntu-latest
environment: innovation
# These permissions are needed to interact
# with GitHub's OIDC Token endpoint.
permissions:
id-token: write
contents: read
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pipenv
make install-dependencies
- name: Configure AWS credentials from Innovation account
uses: aws-actions/configure-aws-credentials@v2
with:
# yamllint disable-line rule:line-length
role-to-assume: "${{ secrets.ROLE_ARN }}"
aws-region: "${{ secrets.AWS_REGION }}"
- name: Deploy the awesome app!
run: |
make publish-app