Add another well-known check (#760) #316
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: Publish IDL to GitHub pages | |
| on: | |
| push: | |
| branches: [main] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v2 | |
| - name: Build | |
| run: | | |
| make -C spec idl | |
| mkdir out | |
| cp spec/fedcm.idl out/ | |
| - name: Deploy | |
| if: ${{ success() && github.ref == 'refs/heads/main' }} | |
| uses: JamesIves/[email protected] | |
| with: | |
| BRANCH: gh-pages | |
| FOLDER: out | |
| CLEAN-EXCLUDE: | |
| index.html | |
| static | |