fix docusaurus change taiwind styles no-release docker-false #10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy CH-UI Docs to GitHub Pages | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- "docs/**" | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "20" | |
- name: Install dependencies | |
run: | | |
cd docs | |
npm ci | |
- name: Build website | |
run: | | |
cd docs | |
npm run build | |
- name: Create CNAME file | |
run: echo "ch-ui.caioricciuti.com" > docs/build/CNAME | |
- name: Deploy to GitHub Pages | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./docs/build | |
user_name: "github-actions[bot]" | |
user_email: "github-actions[bot]@users.noreply.github.com" |