-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
41a98ea
commit 5b5e1ee
Showing
1 changed file
with
11 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,11 +4,7 @@ on: | |
push: | ||
branches: | ||
- main | ||
secrets: | ||
TEMPORAL_CICD_APP_ID: | ||
required: true | ||
TEMPORAL_CICD_PRIVATE_KEY: | ||
required: true | ||
- GithubAppToken | ||
|
||
jobs: | ||
sync: | ||
|
@@ -39,8 +35,6 @@ jobs: | |
app_id: ${{ secrets.TEMPORAL_CICD_APP_ID }} | ||
private_key: ${{ secrets.TEMPORAL_CICD_PRIVATE_KEY }} | ||
permissions: | ||
contents: read | ||
pull_requests: write | ||
|
||
- name: Checkout UI Server | ||
uses: actions/checkout@v4 | ||
|
@@ -53,13 +47,13 @@ jobs: | |
- 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" | ||
# - 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" |