[ISSUE #148] Add connectors documents #312
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: 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/[email protected] | |
if: github.event_name == 'push' && github.ref == 'refs/heads/master' | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: build | |
publish_branch: asf-site |