Skip to content

Commit

Permalink
CI/CD not parallel/concurrent
Browse files Browse the repository at this point in the history
  • Loading branch information
justinwerner committed Feb 4, 2024
1 parent b1134d9 commit 5fb7b28
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 5 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ name: CI Staging
jobs:
test:
runs-on: ubuntu-latest
concurrency:
group: staging
cancel-in-progress: true
container:
image: kirschbaumdevelopment/laravel-test-runner:8.3

Expand Down Expand Up @@ -44,6 +47,9 @@ jobs:

deploy:
runs-on: ubuntu-latest
concurrency:
group: staging
cancel-in-progress: true

steps:
- name: Deploy to Laravel Forge
Expand Down
17 changes: 12 additions & 5 deletions .github/workflows/ci-staging.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
on:
push:
branches:
- staging
on: push
# push:
# branches:
# - staging
name: CI Staging
jobs:
test:
runs-on: ubuntu-latest
concurrency:
group: staging
cancel-in-progress: true
container:
image: kirschbaumdevelopment/laravel-test-runner:8.3

Expand Down Expand Up @@ -44,7 +47,11 @@ jobs:

deploy:
runs-on: ubuntu-latest
concurrency:
group: staging
cancel-in-progress: true

steps:
- name: Deploy to Laravel Forge
run: curl ${{ secrets.FORGE_STAGING_DEPLOYMENT_WEBHOOK }}
run: echo "hey"
# run: curl ${{ secrets.FORGE_STAGING_DEPLOYMENT_WEBHOOK }}

0 comments on commit 5fb7b28

Please sign in to comment.