mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-08-15 10:47:21 +00:00
Switched from env.FORCE_PUSH to vars.FORCE_PUSH
This commit is contained in:
6
.github/workflows/build-docs.yml
vendored
6
.github/workflows/build-docs.yml
vendored
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user