ci: Fix condition for deploying docs

This commit is contained in:
Jonas Platte 2021-07-03 10:47:44 +02:00
parent 020da913de
commit b4254e237d
No known key found for this signature in database
GPG Key ID: CC154DE0E30B7C67

View File

@ -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