From b41be9c6a5ac653eb0d1f0bd268cc7f3878fab11 Mon Sep 17 00:00:00 2001 From: Mao Zhou Date: Fri, 20 Sep 2024 16:15:29 +1000 Subject: [PATCH] update --- .github/workflows/CI.yml | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 863256c..2ca515a 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -20,17 +20,12 @@ jobs: with: version: "1" - - uses: julia-actions/cache@v2 - - - run: julia --color=yes --project -e 'using Pkg; Pkg.instantiate()' - - - run: julia --project -e 'using CSL_Chinese; CSL_Chinese.build()' - + - run: julia --color=yes --project -e ' + using Pkg; Pkg.instantiate(); + using CSL_Chinese; CSL_Chinese.build()' - name: Deploy to gh-pages branch - if: ${{ github.event_name != 'pull_request' }} - uses: peaceiris/actions-gh-pages@v4 + uses: JamesIves/github-pages-deploy-action@releases/v3 with: - cname: zmalt.github.io/CSL_Chinese - github_token: ${{ secrets.GITHUB_TOKEN }} - force_orphan: true - publish_dir: ./_build/ + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + BRANCH: gh-pages + FOLDER: _build