CI: Deploy docs for main while we don't have a next branch

This commit is contained in:
Jonas Platte 2021-09-30 19:35:19 +02:00
parent 120f1f3b2a
commit ddda5c0ef3
No known key found for this signature in database
GPG Key ID: 7D261D771D915378

View File

@ -28,7 +28,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/next' }}
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
uses: JamesIves/github-pages-deploy-action@4.1.4
with:
folder: target/doc