Skip to content

Commit d8e29e8

Browse files
committed
fix deploy
1 parent ed1366b commit d8e29e8

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,11 @@ jobs:
1515
check:
1616
runs-on: ubuntu-latest
1717
environment: publish
18-
if: github.ref == 'refs/heads/master' && github.event.workflow_run.conclusion == 'success'
18+
if: |
19+
true
20+
&& github.ref == 'refs/heads/master'
21+
&& github.event.workflow_run.head_repository.full_name == github.event.repository.full_name
22+
&& github.event.workflow_run.conclusion == 'success'
1923
outputs:
2024
secrets: ${{ steps.checker.outputs.secrets }}
2125
steps:
@@ -66,4 +70,4 @@ jobs:
6670
ALIOSS_SK: ${{ secrets.ALIOSS_SK }}
6771
ALIOSS_BUCKET: ${{ vars.ALIOSS_BUCKET }}
6872
ALIOSS_ENDPOINT: ${{ vars.ALIOSS_ENDPOINT }}
69-
run: python3 .deploy.py -p / build
73+
run: python3 .deploy.py -p open/ build

0 commit comments

Comments
 (0)