Skip to content

Workflow file for this run

name: Release
on:
push:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
permissions:
actions: write
checks: write
contents: write
deployments: write
issues: write
packages: write
pull-requests: write
repository-projects: write
security-events: write
statuses: write
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 16.x
- name: Install Dependencies
run: yarn
- name: Build Project
run: |
yarn build
yarn next export
- name: Clone target repository
run: git clone https://github.com/GaiaNet-AI/gaianet-node.git
- name: Copy build files
run: |
cd gaianet-node
cp -r ../out/* ./dashboard/chatbot-ui/

Check failure on line 41 in .github/workflows/exportAndPush.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/exportAndPush.yml

Invalid workflow file

You have an error in your yaml syntax on line 41
- name: Commit and push changes
run: |
cd gaianet-node
# git config --local user.email "840732889@qq.com"
# git config --global user.name "JYC0413"
git add .
git commit -m "Build and deploy chatbot-ui"
git push