File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -35,18 +35,18 @@ jobs:
35
35
git config --global user.name "GitHub Actions"
36
36
37
37
- name : Run Gradle task
38
- run : ./gradlew :core:processKDocsMain
38
+ run : ./gradlew :core:processKDocsMain korro
39
39
40
40
- name : Check for changes in generated sources
41
41
id : git-diff
42
- run : echo "::set-output name=changed::$(if git diff --quiet './core/generated-sources'; then echo 'false'; else echo 'true'; fi)"
42
+ run : echo "::set-output name=changed::$(if git diff --quiet './core/generated-sources' './docs/StardustDocs/snippets' './docs/StardustDocs/topics' ; then echo 'false'; else echo 'true'; fi)"
43
43
44
44
- name : Commit and push if changes
45
45
id : git-commit
46
46
if : steps.git-diff.outputs.changed == 'true'
47
47
run : |
48
48
git checkout -b generated-sources/docs-update-${{ github.run_number }}
49
- git add './core/generated-sources'
49
+ git add './core/generated-sources' './docs/StardustDocs/snippets' './docs/StardustDocs/topics'
50
50
git commit -m "Update generated sources with recent changes"
51
51
git push origin generated-sources/docs-update-${{ github.run_number }}
52
52
echo "::set-output name=commit::$(git rev-parse HEAD)"
You can’t perform that action at this time.
0 commit comments