Skip to content

Commit

Permalink
fix: fix docs CI (#382)
Browse files Browse the repository at this point in the history
chore: fix docs CI
  • Loading branch information
korvin89 authored Jan 17, 2024
1 parent 2b9828a commit dc20a5e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/docs-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@ jobs:
- name: Build
run: npm run docs:build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build
user_name: 'github-actions[bot]'
user_email: 'github-actions[bot]@users.noreply.github.com'
if: ${{ github.ref == 'refs/heads/main' }}
run: npm run docs:deploy


1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@
"docs:start:ru": "cd ./documentation && npm run start:ru",
"docs:build": "cd ./documentation && npm run build",
"docs:serve": "cd ./documentation && npm run serve",
"docs:deploy": "cd ./documentation && npm run deploy",
"prepublishOnly": "npm run build"
},
"husky": {
Expand Down

0 comments on commit dc20a5e

Please sign in to comment.