Skip to content

Commit 7863539

Browse files
ci: add GitHub Actions workflow to deploy documentation to GitHub Pages
1 parent 7d42628 commit 7863539

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/deploy-docs.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,15 @@ jobs:
4141
run: npm run build
4242
working-directory: docs
4343

44+
- name: Remove .gitignore from build output
45+
run: rm -f docs/build/.gitignore
46+
4447
- name: Deploy to GitHub Pages
4548
uses: peaceiris/actions-gh-pages@v4
4649
with:
4750
github_token: ${{ secrets.GITHUB_TOKEN }}
4851
publish_dir: ./docs/build
4952
publish_branch: docs
50-
exclude_assets: '' # <-- this is what was killing the HTML/JS/CSS
5153
user_name: 'github-actions[bot]'
5254
user_email: 'github-actions[bot]@users.noreply.github.com'
5355
commit_message: 'docs: deploy documentation [skip ci]'

0 commit comments

Comments
 (0)