ci: Fix condition for deploying docs
This commit is contained in:
parent
020da913de
commit
b4254e237d
2
.github/workflows/docs.yml
vendored
2
.github/workflows/docs.yml
vendored
@ -27,7 +27,7 @@ jobs:
|
||||
command: doc
|
||||
args: --no-deps --workspace --exclude ruma-api-macros --exclude ruma-events-macros --exclude ruma-identifiers-macros --exclude ruma-identifiers-validation --exclude xtask --all-features -Zrustdoc-map
|
||||
- name: Deploy to docs branch
|
||||
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
|
||||
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/next' }}
|
||||
uses: JamesIves/github-pages-deploy-action@4.1.4
|
||||
with:
|
||||
branch: docs
|
||||
|
Loading…
x
Reference in New Issue
Block a user