Skip to content

fix(ci-cd): pin github ci python runner to 3.11.4 #35

fix(ci-cd): pin github ci python runner to 3.11.4

fix(ci-cd): pin github ci python runner to 3.11.4 #35

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.4"]
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