Skip to content

Disable the use of the docker cache #47

Disable the use of the docker cache

Disable the use of the docker cache #47

name: Generate and submit documentation
on:
push:
branches:
- fix/generate-documentation-workflow
jobs:
generate-documentation:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
persist-credentials: false
fetch-depth: 0
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build Docker image
uses: docker/build-push-action@v4
id: built-image
with:
context: .
file: ./docker/Dockerfile
push: false
load: true
tags: claasp-lib
- 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: Update develop branch
uses: morbalint/git-merge-action@v1
with:
target: 'develop'
source: 'main'
token: ${{ secrets.AUTHORIZATION_TOKEN }}
strategy_options: 'ours'