CI: only run deploy ...

... when repo is `citra-emu/discord-bot` and the branch is `master`
This commit is contained in:
liushuyu 2021-09-12 22:12:55 -06:00
parent b833189f6a
commit eb8a183100
No known key found for this signature in database
GPG Key ID: 23D1CE4534419437

View File

@ -27,6 +27,7 @@ jobs:
deploy: deploy:
needs: build needs: build
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: (github.ref == 'refs/heads/master') && (github.repository == 'citra-emu/discord-bot')
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: docker/setup-buildx-action@v1 - uses: docker/setup-buildx-action@v1