Skip to content

Commit

Permalink
[GHA] Clean up deploy_release workflow (#3551)
Browse files Browse the repository at this point in the history
  • Loading branch information
imnasnainaec authored Jan 31, 2025
1 parent 2dbe613 commit 66500ac
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/deploy_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ name: "Deploy Update to Live Server"

on:
release:
branches: [master]
types: [published]

permissions:
Expand All @@ -27,7 +26,7 @@ jobs:
*.actions.githubusercontent.com:443
*.cloudfront.net:443
*.data.mcr.microsoft.com:443
api.ecr-public.${{ secrets.AWS_DEFAULT_REGION }}.amazonaws.com:443
api.ecr-public.us-east-1.amazonaws.com:443
api.github.com:443
api.nuget.org:443
archive.ubuntu.com:80
Expand All @@ -46,7 +45,7 @@ jobs:
security.debian.org:80
security.ubuntu.com:80
storage.googleapis.com:443
sts.${{ secrets.AWS_DEFAULT_REGION }}.amazonaws.com:443
sts.us-east-1.amazonaws.com:443
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Build The Combine
id: build_combine
Expand All @@ -57,9 +56,8 @@ jobs:
aws_access_key_id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
# Note that the region for the public registries is always us-east-1 regardless of
# the account's default region. See the section "To authenticate Docker to an Amazon
# ECR registry with get-login-password in
# https://docs.aws.amazon.com/AmazonECR/latest/public/public-registries.html
# the account's default region. See the section "Using an authorization token" in
# https://docs.aws.amazon.com/AmazonECR/latest/public/public-registry-auth.html#public-registry-auth-token
aws_default_region: us-east-1
build_component: ${{ matrix.component }}
deploy_update:
Expand Down

0 comments on commit 66500ac

Please sign in to comment.