diff --git a/.github/workflows/api-docs.yaml b/.github/workflows/api-docs.yaml index 2fd739cd..a0dcbe6e 100644 --- a/.github/workflows/api-docs.yaml +++ b/.github/workflows/api-docs.yaml @@ -2,10 +2,7 @@ name: write api-docs to skip.kartverket.no on: push: - branches: - - main - paths: - - 'config/crd/**' + jobs: run-crdoc: runs-on: ubuntu-latest @@ -35,6 +32,7 @@ jobs: - name: Commit and push changes run: | + cd docs git config --global user.email "skiperator@kartverket.no" git config --global user.name "GithubActions" git add .