Merge pull request #12 from Dynamsoft/readme-patch-1 #11
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 PR previews | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
types: | |
- opened | |
- reopened | |
- synchronize | |
- closed | |
jobs: | |
deploy-preview: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Deploy PR Preview | |
uses: rossjrw/[email protected] | |
with: | |
token: ${{ secrets.PREVIEW_TOKEN }} | |
preview-branch: gh-pages | |
source-dir: . | |
umbrella-dir: pr-preview | |
action: auto |