diff options
author | 2023-09-09 21:16:55 +0200 | |
---|---|---|
committer | 2023-09-09 21:16:55 +0200 | |
commit | e3aa8f71e6d27135ddc3bddf2a141fe42375b3f9 (patch) | |
tree | 2fd3b5f27ff4ac185a105ddce1a8f26b1b5b276b /.github/workflows/document.yml | |
parent | 89d9c45d25e9bf89e48858b135bc7a2d41c757a8 (diff) | |
parent | 419d9374b79b39293ba9a17967c2356d29377d8f (diff) | |
download | iced-e3aa8f71e6d27135ddc3bddf2a141fe42375b3f9.tar.gz iced-e3aa8f71e6d27135ddc3bddf2a141fe42375b3f9.tar.bz2 iced-e3aa8f71e6d27135ddc3bddf2a141fe42375b3f9.zip |
Merge pull request #2077 from matze/fix-doc-links
Fix majority of unresolved documentation links
Diffstat (limited to '.github/workflows/document.yml')
-rw-r--r-- | .github/workflows/document.yml | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/.github/workflows/document.yml b/.github/workflows/document.yml index 09a7a4d5..230c5cb0 100644 --- a/.github/workflows/document.yml +++ b/.github/workflows/document.yml @@ -1,8 +1,5 @@ name: Document -on: - push: - branches: - - master +on: [push, pull_request] jobs: all: runs-on: ubuntu-20.04 @@ -31,6 +28,7 @@ jobs: - name: Write CNAME file run: echo 'docs.iced.rs' > ./target/doc/CNAME - name: Publish documentation + if: github.ref == 'refs/heads/master' uses: peaceiris/actions-gh-pages@v3 with: deploy_key: ${{ secrets.DOCS_DEPLOY_KEY }} |