Skip to content

feat: Add infra and Github action demo #1

feat: Add infra and Github action demo

feat: Add infra and Github action demo #1

Workflow file for this run

name: oidc-demo
on:
push:
branches:
- main
permissions:
id-token: write
content: read

Check failure on line 10 in .github/workflows/demo.yml

View workflow run for this annotation

GitHub Actions / oidc-demo

Invalid workflow file

The workflow is not valid. .github/workflows/demo.yml (Line: 10, Col: 3): Unexpected value 'content'
env:
AWS_REGION : "eu-west-3"
jobs:
deploy:
name: demo
runs-on: ubuntu-latest
permissions:
contents: read # This is required for actions/checkout
steps:
- uses: actions/checkout@v4
- name: configure aws credentials
uses: aws-actions/configure-aws-credentials@v3
with:
role-to-assume: arn:aws:iam::450568479740:role/github-oidc
role-session-name: samplerolesession
aws-region: ${{ env.AWS_REGION }}
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3