Skip to content

Commit 98fb8d4

Browse files
committed
Merge linter and deploy to grab composer cache
1 parent 1f8da02 commit 98fb8d4

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

.github/workflows/deployment.yml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,11 @@ permissions:
1313
contents: read
1414

1515
jobs:
16-
linter:
16+
deploy:
1717
runs-on: ubuntu-latest
18+
environment: production
1819
steps:
19-
- name: Checkout
20+
- name: Checkout Code
2021
uses: actions/checkout@v4
2122

2223
- name: Update apt cache
@@ -43,14 +44,6 @@ jobs:
4344
- name: Validate PHP syntax
4445
run: bash -c 'set -e;for file in $(find ./src -type f -regex ".*\.\(php\|phtml\)" -print); do php -e -l -f "$file"; done'
4546

46-
deploy:
47-
needs: linter
48-
runs-on: ubuntu-latest
49-
environment: production
50-
steps:
51-
- name: Checkout Code
52-
uses: actions/checkout@v4
53-
5447
- name: Sanitize Branch Name
5548
run: |
5649
CLEAN_BRANCH_NAME="${GITHUB_REF_NAME//\//_}"

0 commit comments

Comments
 (0)