Explorar o código

:octocat: update gh-pages deploy

codemasher %!s(int64=4) %!d(string=hai) anos
pai
achega
33c1e2d88a
Modificáronse 1 ficheiros con 6 adicións e 4 borrados
  1. 6 4
      .github/workflows/docs.yml

+ 6 - 4
.github/workflows/docs.yml

@@ -22,7 +22,9 @@ jobs:
         uses: ./.github/actions/build-docs
 
       - name: "Publish Docs to gh-pages"
-        uses: maxheld83/ghpages@v0.3.0
-        env:
-          BUILD_DIR: docs/
-          GH_PAT: ${{ secrets.GH_PAT }}
+        uses: JamesIves/github-pages-deploy-action@4.1
+        with:
+          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+          BRANCH: gh-pages
+          FOLDER: dist
+          CLEAN: true