Skip to content

feat: chat ui login #36

feat: chat ui login

feat: chat ui login #36

name: to dapp
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
with:
token: ${{ secrets.GH_TOKEN }}
- 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: Push directory to another repository
if: ${{ github.event_name == 'push' }}
uses: cpina/github-action-push-to-another-repository@main
env:
API_TOKEN_GITHUB: ${{ secrets.GH_TOKEN }}
with:
source-directory: 'out'
destination-github-username: 'GaiaNet-AI'
destination-repository-name: 'gaianet-dapp'
target-directory: 'public/chatbot-ui'
user-email: juyichen0413@foxmail.com
target-branch: test