Skip to content

Commit

Permalink
Change deploy configuration
Browse files Browse the repository at this point in the history
Split better

Remove concurrency attribute
  • Loading branch information
coorasse committed Oct 31, 2024
1 parent 20570af commit 0e8bc0d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 9 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
name: Run Tests
name: test
on:
push:
branches:
- '*'
pull_request:
branches: [main]
branches:
- '*'
jobs:
build:
test:
runs-on: ubuntu-latest
container:
image: crystallang/crystal:latest
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: Deployment
concurrency: production

on:
workflow_run:
workflows: [Run Tests]
types:
- completed
branches:
- main
workflows: test
types: completed
branches:
- main

jobs:
deployment:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 0e8bc0d

Please sign in to comment.