fix bug with null environment value in AwsLambdaApi #1
This file contains hidden or 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: Publish documentation to Github Pages | |
on: | |
workflow_dispatch: | |
push: | |
branches: [main] | |
paths: | |
- '*.md' | |
permissions: | |
id-token: write # This is required for requesting the JWT | |
contents: write # This is required for actions/checkout | |
pages: write # to deploy to Pages | |
jobs: | |
PublishGithubPages: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Configure AWS credentials | |
uses: aws-actions/configure-aws-credentials@v4 | |
with: | |
role-to-assume: 'arn:aws:iam::047719648492:role/GithubActionRole' | |
role-session-name: GitHub_to_AWS_via_FederatedOIDC | |
aws-region: 'eu-central-1' | |
unset-current-credentials: true | |
- id: release | |
name: Create and upload new Github Pages content | |
uses: encalmo/create-new-release-action@v1.3 | |
with: | |
tag-prefix: 'version' | |
version-bump: 'keep' | |
release-flags: '' | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
sonatype-token: ${{ secrets.SONATYPE_TOKEN }} | |
gpg-secret-key-base64: ${{ secrets.GPG_SECRET_KEY }} | |
gpg-secret-key-id: ${{ secrets.GPG_SECRET_KEY_ID }} | |
pages-only: 'true' | |
markdown-paths: 'README.md' | |