Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modernize deploy workflow #942

Merged
merged 1 commit into from
Nov 11, 2023
Merged

Modernize deploy workflow #942

merged 1 commit into from
Nov 11, 2023

Conversation

gwynne
Copy link
Member

@gwynne gwynne commented Nov 11, 2023

Switches to OIDC provider, replaces very old S3 and CloudFront actions with modern CLI usage, de-hardcodes region and S3 bucket name, unlocks pin of old version of CloudFormation deploy action, add concurrency safety.

@gwynne gwynne added meta-enhancement An improvement to the docs website. no-translation-needed This PR does not require the translations to be updated (e.g. fixing a typo or infrastructure work) github_actions Pull requests that update GitHub Actions code labels Nov 11, 2023
@gwynne gwynne requested a review from 0xTim November 11, 2023 17:23
jobs:
deploy:
name: Build and deploy
runs-on: ubuntu-latest
permissions: { id-token: write, contents: read }
env: { AWS_PAGER: '' }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the pager used for?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The V2 CLI enables its pager by default even when output isn't to a terminal; it has to be explicitly disabled and the env var is a particularly convenient way to do so across the board.

@gwynne gwynne merged commit 7da0d44 into main Nov 11, 2023
1 check passed
@gwynne gwynne deleted the gwynne-patch-1 branch November 11, 2023 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
github_actions Pull requests that update GitHub Actions code meta-enhancement An improvement to the docs website. no-translation-needed This PR does not require the translations to be updated (e.g. fixing a typo or infrastructure work)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants