Skip to content

Commit

Permalink
fix deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
moesoha committed Mar 23, 2023
1 parent ed1366b commit d8e29e8
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@ jobs:
check:
runs-on: ubuntu-latest
environment: publish
if: github.ref == 'refs/heads/master' && github.event.workflow_run.conclusion == 'success'
if: |
true
&& github.ref == 'refs/heads/master'
&& github.event.workflow_run.head_repository.full_name == github.event.repository.full_name
&& github.event.workflow_run.conclusion == 'success'
outputs:
secrets: ${{ steps.checker.outputs.secrets }}
steps:
Expand Down Expand Up @@ -66,4 +70,4 @@ jobs:
ALIOSS_SK: ${{ secrets.ALIOSS_SK }}
ALIOSS_BUCKET: ${{ vars.ALIOSS_BUCKET }}
ALIOSS_ENDPOINT: ${{ vars.ALIOSS_ENDPOINT }}
run: python3 .deploy.py -p / build
run: python3 .deploy.py -p open/ build

0 comments on commit d8e29e8

Please sign in to comment.