Skip to content

Commit

Permalink
fixed a deploy.yaml issue
Browse files Browse the repository at this point in the history
  • Loading branch information
nickkats committed Feb 24, 2024
1 parent 465448d commit d76e7e5
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,11 @@ on:
ref:
description: 'Branch, Tag, or Full SHA'
required: true
default: 'master'
default: 'develop'

concurrency:
group: ${{ github.event.inputs.env }}

env:
REFERENCE: ${{ github.event.pull_request.head.sha || github.event.push.head_commit.id }}

jobs:
build:
environment:
Expand All @@ -33,7 +30,7 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
ref: ${{ env.REFERENCE }}
ref: ${{ github.event.inputs.ref }}
- uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: arn:aws:iam::${{ secrets.AWS_ACCOUNT_ID }}:role/github-actions
Expand Down

0 comments on commit d76e7e5

Please sign in to comment.