From e77cce3229ae1201b6e547b463698cb9a2fcb840 Mon Sep 17 00:00:00 2001 From: Jordy Cabannes Date: Tue, 9 Jan 2024 16:56:50 +0100 Subject: [PATCH] fix: run update doc job with PR events --- .github/workflows/github-ci.yml | 4 ++-- README.md | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/github-ci.yml b/.github/workflows/github-ci.yml index f7a03c384..f5ab0a2e4 100644 --- a/.github/workflows/github-ci.yml +++ b/.github/workflows/github-ci.yml @@ -44,7 +44,7 @@ jobs: publish-docker: runs-on: ubuntu-latest needs: test - if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} + if: github.event_name == 'push' steps: - uses: actions/checkout@v3 - name: Get all src files that have changed @@ -68,7 +68,7 @@ jobs: update-doc: runs-on: ubuntu-latest needs: test - if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} + if: github.event_name == 'pull_request' steps: - uses: actions/checkout@v3 with: diff --git a/README.md b/README.md index 890ee5f40..ae199ba31 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,8 @@ This is a multi-packages repository. See [packages](./packages) directory. +REST API Endpoints documentation is available on https://linagora.github.io/ToM-server/ + ## Scripts * `npm run build`: build all packages