[ISSUE #160]Adjust the tab order in the sidebar of the release notes … #330
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: Build and Publish | |
on: | |
pull_request: | |
branches: [master] | |
push: | |
branches: [master] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: "16" | |
- name: Install Dependencies | |
run: | | |
npm install | |
- name: Build | |
run: | | |
npm run build | |
cp .asf.yaml build | |
cp doap_EventMesh.rdf build | |
- name: Publish | |
uses: peaceiris/actions-gh-pages@v3.8.0 | |
if: github.event_name == 'push' && github.ref == 'refs/heads/master' | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: build | |
publish_branch: asf-site |