Skip to content

Commit 0a073ec

Browse files
deploy changes
1 parent d600dd7 commit 0a073ec

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

.github/workflows/update_deploy.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: update deploy
22

33
on:
44
workflow_run:
5-
workflows: [sync from open]
5+
workflows: [sync from open,sync from private]
66
types:
77
- completed
88

@@ -11,8 +11,6 @@ permissions:
1111

1212
jobs:
1313
update_branch:
14-
if: |
15-
github.event.repository.name == 'staging_open'
1614
name: Merge main into deploy
1715
runs-on: ubuntu-latest
1816
steps:
@@ -27,7 +25,7 @@ jobs:
2725
run: |
2826
git config --global user.name "github-actions[bot]"
2927
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
30-
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/Sllambias/staging_open
28+
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/Sllambias/${{ github.event.repository.name }}
3129
3230
- name: Update deployment main
3331
run: |

0 commit comments

Comments
 (0)