v1.1.0 #3
Workflow file for this run
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: Publish JSON Schema | |
on: | |
release: | |
types: [published] | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Inject env variables | |
uses: rlespinasse/[email protected] | |
- uses: actions/checkout@v2 | |
- name: deploy JSON Schema for version ${{ env.GITHUB_REF_SLUG }} | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: json-schema | |
destination_dir: ${{ env.GITHUB_REF_SLUG }} |