Skip to content

Commit

Permalink
because of branch names
Browse files Browse the repository at this point in the history
  • Loading branch information
mlantz committed Jun 25, 2024
1 parent e822c6a commit affdf40
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ jobs:

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

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

0 comments on commit affdf40

Please sign in to comment.