CI: Deploy docs for main while we don't have a next branch
This commit is contained in:
parent
120f1f3b2a
commit
ddda5c0ef3
2
.github/workflows/docs.yml
vendored
2
.github/workflows/docs.yml
vendored
@ -28,7 +28,7 @@ jobs:
|
|||||||
command: doc
|
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
|
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
|
- 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
|
uses: JamesIves/github-pages-deploy-action@4.1.4
|
||||||
with:
|
with:
|
||||||
folder: target/doc
|
folder: target/doc
|
||||||
|
Loading…
x
Reference in New Issue
Block a user