Skip to content

Update badge colors (#2172) #844

Update badge colors (#2172)

Update badge colors (#2172) #844

name: Update UI Server
on:
push:
branches:
- main
jobs:
sync:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Checkout and Setup Node
uses: ./.github/actions/checkout-and-setup
- uses: actions/setup-go@v3
with:
go-version-file: server/go.mod
cache: true
cache-dependency-path: server/go.sum
- name: Setup Protoc
uses: arduino/setup-protoc@v1
with:
version: '3.x'
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Checkout UI Server
uses: actions/checkout@v4
with:
repository: temporalio/ui-server
path: ui-server
ref: main
token: ${{ secrets.COMMANDER_DATA_TOKEN }}
- name: Build UI
run: pnpm build:server
- name: Sync UI Server
run: |
rm -rf ui-server/*
rm -rf server/proto/dependencies/api
cp -r server/* ui-server
cd ui-server
git config --local user.name 'Temporal Data (cicd)'
git config --local user.email '[email protected]'
git add .
git commit -m "Update UI Server" && git push || echo "No changes to commit"