Skip to content

Commit

Permalink
Switched from env.FORCE_PUSH to vars.FORCE_PUSH
Browse files Browse the repository at this point in the history
  • Loading branch information
kaltokri committed Oct 19, 2023
1 parent 015af97 commit d4a4660
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
echo "Repository: ${{ github.repository }}"
echo "Commit-Id: ${{ github.sha }}"
echo "Owner: ${{ github.repository_owner }}"
echo "FORCE_PUSH: ${{ env.FORCE_PUSH }}"
echo "FORCE_PUSH: ${{ vars.FORCE_PUSH }}"
#########################################################################
# Prepare build environment
Expand Down Expand Up @@ -126,8 +126,8 @@ jobs:
run: |
cp ./build/doc/*.html ./build/MOOSE_DOCS/Documentation/
- name: Push result to docs repository (skipped by act)
if: ${{ env.FORCE_PUSH == 'true' }}
- name: Push result to docs repository
if: ${{ vars.FORCE_PUSH == 'true' }}
run: |
git config user.name "kaltokri"
git config user.email "[email protected]"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-includes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ jobs:
# Run LuaCheck
#########################################################################
- name: Run LuaCheck
if: ${{ env.SKIP_LUACHECK != 'true' }}
if: ${{ vars.SKIP_LUACHECK != true }}
continue-on-error: true
run: |
luacheck --std=lua51c --config=.luacheckrc -gurasqq "Moose Development/Moose"
Expand All @@ -119,7 +119,7 @@ jobs:
run: |
cp -r ./build/result/* ./build/MOOSE_INCLUDE/
- name: Push result to MOOSE_INCLUDE repository (skipped by act)
- name: Push result to MOOSE_INCLUDE repository
if: ${{ vars.FORCE_PUSH == 'true' }}
run: |
git config user.name "MooseBotter"
Expand Down

0 comments on commit d4a4660

Please sign in to comment.