From 37f0f47d783dde389a17a429fb5838497207025e Mon Sep 17 00:00:00 2001 From: yessica-rd Date: Thu, 28 Sep 2023 15:53:04 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A7=20Remove=20cache=20step=20and=20te?= =?UTF-8?q?sting=20with=20generate-documentation=20workflow?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build-and-run-pytest.yaml | 10 +++---- .../generate-and-submit-documentation.yaml | 27 ++++++++++--------- 2 files changed, 20 insertions(+), 17 deletions(-) diff --git a/.github/workflows/build-and-run-pytest.yaml b/.github/workflows/build-and-run-pytest.yaml index 0c1bf58b..d5c4097f 100644 --- a/.github/workflows/build-and-run-pytest.yaml +++ b/.github/workflows/build-and-run-pytest.yaml @@ -41,8 +41,8 @@ jobs: - name: Run pytests run: docker run --rm -v $PWD:/home/sage/tii-claasp --pull claasp-lib make remote-pytest - - name: Move cache - if: ${{ always() }} - run: | - rm -rf /tmp/.buildx-cache - mv /tmp/.buildx-cache-new /tmp/.buildx-cache \ No newline at end of file + # - name: Move cache + # if: ${{ always() }} + # run: | + # rm -rf /tmp/.buildx-cache + # mv /tmp/.buildx-cache-new /tmp/.buildx-cache \ No newline at end of file diff --git a/.github/workflows/generate-and-submit-documentation.yaml b/.github/workflows/generate-and-submit-documentation.yaml index bd6b1638..ca0a677f 100644 --- a/.github/workflows/generate-and-submit-documentation.yaml +++ b/.github/workflows/generate-and-submit-documentation.yaml @@ -1,5 +1,8 @@ name: Generate and submit documentation on: + push: + branches: + - test/self-hosted-runner pull_request: types: [ closed ] branches: @@ -47,16 +50,16 @@ jobs: - name: Generate documentation run: docker run --rm -v $PWD:/home/sage/tii-claasp claasp-lib make doc - - name: Commit & Push changes - uses: actions-js/push@master - with: - github_token: ${{ secrets.AUTHORIZATION_TOKEN }} - message: "Update documentation" + # - name: Commit & Push changes + # uses: actions-js/push@master + # with: + # github_token: ${{ secrets.AUTHORIZATION_TOKEN }} + # message: "Update documentation" - - name: Update develop branch - uses: morbalint/git-merge-action@v1 - with: - target: 'develop' - source: 'main' - token: ${{ secrets.AUTHORIZATION_TOKEN }} - strategy_options: 'ours' + # - name: Update develop branch + # uses: morbalint/git-merge-action@v1 + # with: + # target: 'develop' + # source: 'main' + # token: ${{ secrets.AUTHORIZATION_TOKEN }} + # strategy_options: 'ours'