From 9ac4a73767169868c861a40b7c9e3acf22bae77a Mon Sep 17 00:00:00 2001 From: Bernardo Guerreiro Date: Tue, 23 Jan 2024 22:19:37 +0000 Subject: [PATCH] feat: add deploy to staging action --- .github/workflows/deploy-staging.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/deploy-staging.yaml diff --git a/.github/workflows/deploy-staging.yaml b/.github/workflows/deploy-staging.yaml new file mode 100644 index 0000000..aac814c --- /dev/null +++ b/.github/workflows/deploy-staging.yaml @@ -0,0 +1,18 @@ +name: Deploy to staging + +on: + workflow_dispatch: + push: + branches: + - main + +jobs: + deploy-staging: + uses: ./.github/workflows/serverless-deploy.yaml + permissions: + id-token: write + contents: read + secrets: + AWS_DEPLOYER_ROLE: ${{ secrets.AWS_DEPLOYER_ROLE }} + with: + ENVIRONMENT: staging \ No newline at end of file