Skip to content

Build and deploy chatbot-ui #6

Build and deploy chatbot-ui

Build and deploy chatbot-ui #6

Workflow file for this run

name: Package Dashboard
on:
push:
branches:
- main
paths:
- 'dashboard/**'
- '.github/workflows/zipDashboard.yml'
jobs:
package_dashboard:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install zip
run: sudo apt-get install zip -y
- name: Package dashboard
run: zip -r dashboard.zip dashboard
- name: Commit changes
run: |
git config --local user.email "[email protected]"
git config --local user.name "JYC0413"
git add .
git commit -m "Automatically package dashboard changes"
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.ACTION_TOKEN }}