Skip to content

Commit

Permalink
fix: error local router.
Browse files Browse the repository at this point in the history
Signed-off-by: joyceliu <[email protected]>
  • Loading branch information
joyceliu committed Sep 4, 2024
1 parent 0118c67 commit cfa37d3
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/sync-feature-code.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,19 +33,12 @@ jobs:
ref: feature-gitops
path: feature-branch

- name: Remove old feature directory
if: ${{ steps.check_pr.outputs.pr_merged == 'true' }}
run: rm -rf feature

- name: Sync feature branch to master/feature directory
if: ${{ steps.check_pr.outputs.pr_merged == 'true' }}
run: |
mkdir -p feature
rm -rf feature && mkdir -p feature
cp -r feature-branch/* feature/
git config --global user.name 'ks-ci-bot'
git config --global user.email '[email protected]'
git add feature/
git commit -m "Sync feature branch to master/feature directory"
rm -rf feature-branch
- name: Push changes and create PR
if: ${{ steps.check_pr.outputs.pr_merged == 'true' }}
Expand Down

0 comments on commit cfa37d3

Please sign in to comment.