We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f8da02 commit 98fb8d4Copy full SHA for 98fb8d4
.github/workflows/deployment.yml
@@ -13,10 +13,11 @@ permissions:
13
contents: read
14
15
jobs:
16
- linter:
+ deploy:
17
runs-on: ubuntu-latest
18
+ environment: production
19
steps:
- - name: Checkout
20
+ - name: Checkout Code
21
uses: actions/checkout@v4
22
23
- name: Update apt cache
@@ -43,14 +44,6 @@ jobs:
43
44
- name: Validate PHP syntax
45
run: bash -c 'set -e;for file in $(find ./src -type f -regex ".*\.\(php\|phtml\)" -print); do php -e -l -f "$file"; done'
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
-
54
- name: Sanitize Branch Name
55
run: |
56
CLEAN_BRANCH_NAME="${GITHUB_REF_NAME//\//_}"
0 commit comments