Merge pull request #718 from aboba/main #41
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 samples to gh-pages branch | |
on: | |
push: | |
paths: | |
- 'samples/**' | |
- '.github/workflows/deploy-samples.yml' | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
main: | |
runs-on: ubuntu-20.04 | |
steps: | |
# See doc at https://github.com/actions/checkout#checkout-v2 | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
# See doc at https://github.com/marketplace/actions/deploy-to-github-pages | |
- name: Deploy samples | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages | |
folder: samples | |
target-folder: samples |