Skip to content

Commit

Permalink
Merge pull request #173 from MarcoIeni/chore-don't-deploy-if-fork
Browse files Browse the repository at this point in the history
chore: don't deploy if fork
  • Loading branch information
Kobzol authored Nov 15, 2024
2 parents a4a060f + a825198 commit 5cc52cf
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@ concurrency: deploy

jobs:
deploy-to-staging:
name: Deploy
name: Deploy to staging
runs-on: ubuntu-latest
environment: staging
concurrency: staging
if: github.repository_owner == 'rust-lang'
permissions:
id-token: write
contents: read
Expand Down Expand Up @@ -47,10 +48,11 @@ jobs:
- name: Kick ECS to deploy new version
run: aws ecs update-service --service bors --cluster bors --force-new-deployment
deploy-to-production:
name: Deploy
name: Deploy to production
runs-on: ubuntu-latest
environment: production
concurrency: production
if: github.repository_owner == 'rust-lang'
permissions:
id-token: write
contents: read
Expand Down

0 comments on commit 5cc52cf

Please sign in to comment.