Update build-validate-publish.yaml (#683) #275
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 IDL to GitHub pages | |
on: | |
push: | |
branches: [main] | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
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 | |