Skip to content

fix: build faild (#349) #598

fix: build faild (#349)

fix: build faild (#349) #598

Workflow file for this run

name: higress.io deploy on github pages
on:
push:
branches:
- main
jobs:
Build-Deploy:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 18.19.x ]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Build
run: |
npm install && npm run build -dd && mkdir -p deploy-dist && cp -R dist/* deploy-dist/
- name: Deploy
uses: peaceiris/[email protected]
env:
ACTIONS_DEPLOY_KEY: ${{ secrets.ACTIONS_DEPLOY_KEY }}
PUBLISH_BRANCH: gh-pages
PUBLISH_DIR: ./deploy-dist
with:
keepFiles: true