This repository was archived by the owner on Sep 10, 2025. It is now read-only.
feat: renamed from statictranspl to staticscript #7
This file contains hidden or 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: Build and deploy Github pages | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - "docs/**" | |
| - "gen-docs.ts" | |
| - "crates/eww/src/widgets/widget_definitions.rs" | |
| - "crates/eww/src/config/inbuilt.rs" | |
| - ".github/workflows/**" | |
| permissions: | |
| contents: write | |
| jobs: | |
| build: | |
| name: Build mdBook | |
| runs-on: ubuntu-latest | |
| steps: | |
| # Checkout | |
| - uses: actions/checkout@master | |
| # Build & deploy | |
| - name: build mdBook page | |
| uses: peaceiris/actions-mdbook@v1 | |
| with: | |
| mdbook-version: "0.4.8" | |
| - run: mdbook build docs | |
| - name: Deploy | |
| uses: peaceiris/actions-gh-pages@v3 | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| publish_dir: ./docs/book/ |