Skip to content

Commit

Permalink
GitHub Pages: Use github.ref_name
Browse files Browse the repository at this point in the history
  • Loading branch information
kaisalmen committed Dec 23, 2023
1 parent 31c5900 commit 70c3da3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
node-version: '18'
- name: Setup
env:
DEPLOY_GHP: ${{ false || github.event.inputs.ghp == 'true' || env.GITHUB_REF_NAME == 'main' }}
DEPLOY_GHP: ${{ false || github.event.inputs.ghp == 'true' || github.ref_name == 'main' }}
run: |
echo "DEPLOY_GHP=${DEPLOY_GHP}" >> $GITHUB_ENV
- name: Install
Expand Down

0 comments on commit 70c3da3

Please sign in to comment.