Skip to content

Commit affdf40

Browse files
committed
because of branch names
1 parent e822c6a commit affdf40

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Diff for: .github/workflows/tests.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ jobs:
4545

4646
- name: checkbranchname
4747
id: checkbranch
48-
run: echo "::set-output name=BRANCHNAME::${GITHUB_REF##*/}"
48+
run: echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT
4949

5050
# - name: Deploy to Laravel Forge
51-
# if: steps.checkbranch.outputs.BRANCHNAME == 'develop'
52-
# run: curl ${{ secrets.FORGE_DEPLOYMENT_WEBHOOK }}
51+
# if: steps.checkbranch.outputs.branch == 'main'
52+
# run: curl ${{ secrets.FORGE_DEPLOYMENT_SECRET }}

0 commit comments

Comments
 (0)