Revert "update from gitbook" #24
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: push | |
jobs: | |
publish_site: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Debug Current Directory | |
run: | | |
pwd | |
ls -a | |
- name: Install GitBook CLI | |
run: npm install [email protected] --global | |
- name: Check GitBook Version | |
run: gitbook -V | |
- name: Install GitBook Plugins | |
run: gitbook install | |
- name: Configure Git | |
run: | | |
git config --global user.name "LJHG" | |
git config --global user.email "[email protected]" | |
- name: Push Sites | |
env: | |
GITHUB_TOKEN: ${{ secrets.PASSWORD }} | |
run: ./publish.sh |