Skip to content

Commit d084dfd

Browse files
committed
Fix "generate docs" workflow
This has probably been broken for a while! Maybe after a migration to dokka 2 perhaps.
1 parent 1a65977 commit d084dfd

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/generate-docs.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
release:
66
types:
77
- published
8+
workflow_dispatch:
89

910
jobs:
1011
build:
@@ -27,7 +28,7 @@ jobs:
2728
2829
- name: Init temporary repo in docs folder
2930
run: |
30-
cd kotter/docs/build/dokka/html
31+
cd ${{github.workspace}}/docs/build/dokka/html
3132
git init
3233
git add -A
3334
git config --local user.email "action@github.com"
@@ -40,4 +41,4 @@ jobs:
4041
github_token: ${{ secrets.GITHUB_TOKEN }}
4142
branch: gh-pages
4243
force: true
43-
directory: ./kotter/build/dokka/html
44+
directory: ${{github.workspace}}/docs/build/dokka/html

0 commit comments

Comments
 (0)