Merge pull request #3 from iansan5653/fix-rtl #56
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 docs site | |
on: | |
push: | |
branches: ["main"] | |
permissions: | |
contents: read | |
pages: write | |
id-token: write | |
concurrency: | |
group: "pages" | |
cancel-in-progress: false | |
jobs: | |
deploy: | |
environment: | |
name: github-pages | |
url: ${{ steps.deployment.outputs.page_url }} | |
runs-on: ubuntu-latest | |
steps: | |
# I'm OK using a version instead of a commit hash here since this is my action and I'm not going to poison myself :) | |
- id: deployment | |
uses: iansan5653/publish-js-to-pages@1.0.1 | |
with: | |
build_command: npm run build-docs && npm run build-demos && cp -r ./demos ./docs/demos | |
build_output_directory: ./docs |