Skip to content

Commit

Permalink
🚧 Remove cache step and testing with generate-documentation workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
yessica-rd committed Sep 28, 2023
1 parent cc806cf commit 37f0f47
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 17 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build-and-run-pytest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
# - name: Move cache
# if: ${{ always() }}
# run: |
# rm -rf /tmp/.buildx-cache
# mv /tmp/.buildx-cache-new /tmp/.buildx-cache
27 changes: 15 additions & 12 deletions .github/workflows/generate-and-submit-documentation.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: Generate and submit documentation
on:
push:
branches:
- test/self-hosted-runner
pull_request:
types: [ closed ]
branches:
Expand Down Expand Up @@ -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'

0 comments on commit 37f0f47

Please sign in to comment.