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