From 19a6a4554724b5a6220a1a003470db24bc24aa79 Mon Sep 17 00:00:00 2001 From: "Fotis E. Psomopoulos" Date: Tue, 24 Oct 2023 18:28:03 +0300 Subject: [PATCH] added gh action --- .github/workflows/gitbook.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/gitbook.yml diff --git a/.github/workflows/gitbook.yml b/.github/workflows/gitbook.yml new file mode 100644 index 0000000..0e3c73f --- /dev/null +++ b/.github/workflows/gitbook.yml @@ -0,0 +1,22 @@ +name: 'Gitbook-Action' + +on: + push: + branches: + - master + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout action + uses: actions/checkout@v1 + + # example1--> https://ZanderZhao.github.io/gitbook-action + - name: Gitbook Action + uses: zanderzhao/gitbook-action@v1.2.4 # https://github.com/ZanderZhao/gitbook-action/releases + with: # Just example, click above, use latest please + token: ${{ secrets.GITBOOK_TOKEN }} + time_zone: London/Central # set time zone + source_edit_time: true # source time + publish_commit_message: ${{ github.event.head_commit.message }} # use last commit message \ No newline at end of file