Skip to content

Create and edit responsive improvements (#2457) #1075

Create and edit responsive improvements (#2457)

Create and edit responsive improvements (#2457) #1075

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
- name: Prepare checkout token
id: generate_token
uses: tibdex/github-app-token@b62528385c34dbc9f38e5f4225ac829252d1ea92
with:
app_id: ${{ secrets.TEMPORAL_CICD_APP_ID }}
private_key: ${{ secrets.TEMPORAL_CICD_PRIVATE_KEY }}
- uses: actions/setup-go@v4
with:
go-version: '1.23'
- 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: ${{ steps.generate_token.outputs.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"