Skip to content

[pre-commit.ci] pre-commit autoupdate #52

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #52

Workflow file for this run

name: "workflow"
on:
push:
branches:
- master
pull_request:
branches:
- "*"
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pre-commit/[email protected]
deploy:
runs-on: ubuntu-latest
if: ${{ github.ref == 'refs/heads/master' }}
needs: [ 'pre-commit' ]
permissions:
id-token: write
contents: read
steps:
- name: 'Checkout'
uses: actions/checkout@v4
- name: Assume AWS Role
uses: aws-actions/configure-aws-credentials@v4
with:
aws-region: us-east-1
role-to-assume: arn:aws:iam::743644221192:role/gh-oidc-sceptre-aws
role-session-name: GitHubActions-${{ github.repository_owner }}-${{ github.event.repository.name }}-${{ github.run_id }}
role-duration-seconds: 1800
- name: 'Sceptre Deploy'
uses: Sceptre/[email protected]
with:
sceptre_version: '4.3.0'
sceptre_subcommand: 'launch prod --prune --yes'