feat(icons): add per-entry regex and nameStyle fields #45
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: Deploy DocC | |
| on: | |
| push: | |
| branches: ["main"] | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| pages: write | |
| id-token: write | |
| concurrency: | |
| group: "pages" | |
| cancel-in-progress: true | |
| jobs: | |
| deploy: | |
| environment: | |
| name: github-pages | |
| url: ${{ steps.deployment.outputs.page_url }} | |
| runs-on: macos-15 | |
| timeout-minutes: 30 | |
| env: | |
| DEVELOPER_DIR: "/Applications/Xcode_26.1.1.app/Contents/Developer" | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Build DocC | |
| run: | | |
| swift package --allow-writing-to-directory docs \ | |
| generate-documentation --target ExFig \ | |
| --disable-indexing \ | |
| --transform-for-static-hosting \ | |
| --hosting-base-path ExFig \ | |
| --output-path docs | |
| echo '<script>window.location.href += "/documentation/exfig"</script>' > docs/index.html | |
| - uses: actions/upload-pages-artifact@v4 | |
| with: | |
| path: 'docs' | |
| - name: Deploy to GitHub Pages | |
| id: deployment | |
| uses: actions/deploy-pages@v4 |