Skip to content

Bump serve-static and express #462

Bump serve-static and express

Bump serve-static and express #462

Workflow file for this run

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: "18"
- 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