Skip to content

Commit 6994a37

Browse files
committed
feat(workflows): update deploy-docs
1 parent 8481915 commit 6994a37

1 file changed

Lines changed: 1 addition & 14 deletions

File tree

.github/workflows/deploy-docs.yml

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -44,17 +44,4 @@ jobs:
4444
uses: JamesIves/github-pages-deploy-action@v4.8.0
4545
with:
4646
branch: gh-pages
47-
folder: docs/src/.vuepress/dist
48-
49-
- name: Upload to jaronnie/jzero-docs-deploy-pages
50-
run: |
51-
go install github.com/jaronnie/grum@latest
52-
GITHUB_TOKEN=${{ secrets.ACCESS_TOKEN }} grum clone https://github.com/jaronnie/jzero-docs-deploy-pages
53-
cd jzero-docs-deploy-pages
54-
git config user.name "dependabot[bot]"
55-
git config user.email "49699333+dependabot[bot]@users.noreply.github.com"
56-
find . -mindepth 1 ! -name "api" ! -name ".git" ! -name "vercel.json" ! -path "./api/*" ! -path "./.git/*" -exec rm -rf {} +
57-
mv ../docs/src/.vuepress/dist/* ./
58-
git add .
59-
git diff-index --quiet HEAD || git commit -m "chore(docs): update docs"
60-
git push -f
47+
folder: docs/src/.vuepress/dist

0 commit comments

Comments
 (0)