Skip to content
This repository has been archived by the owner on Nov 19, 2023. It is now read-only.

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
duliyouxijuzi committed Nov 19, 2023
1 parent e1ad606 commit bbf0a71
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/gitbook-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
echo "CHANGE_PACKAGE_VALUE = ${CHANGE_PACKAGE_VALUE}"
echo "CHANGE_PACKAGE=${CHANGE_PACKAGE_VALUE}" >> $GITHUB_ENV
- if: ${{ env.CHANGE_PACKAGE == true }}
- if: ${{ env.CHANGE_PACKAGE == 'true' }}
name: Cleanup Cache
env:
GH_TOKEN: ${{ secrets.DEV_TOKEN}}
Expand All @@ -88,14 +88,14 @@ jobs:
done
echo "Done"
- if: ${{ env.CHANGE_PACKAGE == true }}
- if: ${{ env.CHANGE_PACKAGE == 'true' }}
name: Update Cache
uses: actions/cache@v3
with:
path: ./node_modules
key: Linux-node_modules-${{ hashFiles('./package-lock.json') }}

- if: ${{ env.CHANGE_PACKAGE == true }}
- if: ${{ env.CHANGE_PACKAGE == 'true' }}
name: Configure Git
run: |
if [ -z "$(git config --get user.email)" ]; then
Expand All @@ -107,7 +107,7 @@ jobs:
git config --global user.name "GitHub Actions"
fi
- if: ${{ env.CHANGE_PACKAGE == true }}
- if: ${{ env.CHANGE_PACKAGE == 'true' }}
name: Commit and push changes
env:
GH_TOKEN: ${{ secrets.DEV_TOKEN}}
Expand Down

0 comments on commit bbf0a71

Please sign in to comment.