From de8b20a20fde9f0e0420d9d7c3ac57bbaaf08618 Mon Sep 17 00:00:00 2001 From: Manfred Riem Date: Tue, 19 Mar 2024 07:52:35 -0500 Subject: [PATCH] Fixes #1 - Add a publishing workflow --- .github/workflows/publish.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 81dd020..240f0c6 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -12,16 +12,17 @@ jobs: npm install honkit npm install gitbook-plugin-hints npx honkit build - git clone https://${{ secrets.GIT_USERNAME }}:${{ secrets.GIT_TOKEN }}@github.com/bengalicu/bengal-website - cd bengal-website - rm -rf book - mv ../_book book + git clone https://${{ secrets.GIT_USERNAME }}:${{ secrets.GIT_TOKEN }}@github.com/manorrock/website + cd website + rm -rf bengal/book || true + mkdir -p bengal/book + mv ../_book bengal/book rm -rf .devcontainer rm -rf .github rm -rf .gitignore - git config --global user.email "noreply@bengal.icu" + git config --global user.email "noreply@manorrock.com" git config --global user.name "Automated publish" git add . - git commit -a -m "Automated publishing, see https://github.com/bengalicu/bengal-book" + git commit -a -m "Automated publishing, see https://github.com/manorrock/bengal-book" git push \ No newline at end of file