Switched from env.FORCE_PUSH to vars.FORCE_PUSH

This commit is contained in:
kaltokri 2023-10-19 18:16:45 +02:00
parent 015af9774c
commit d4a46606fd
2 changed files with 5 additions and 5 deletions

View File

@ -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
@ -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 "rolf.geuenich@gmail.com"

View File

@ -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"
@ -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"