File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99 runs-on : ubuntu-latest
1010 env :
1111 github_sha : $GITHUB_SHA
12+ workspace : $GITHUB_WORKSPACE
1213 steps :
1314 - name : Checkout repository
1415 uses : actions/checkout@v4
16+ with :
17+ path : main
1518 - name : Generating documentation
1619 run : |
17- cd . /stack-control-doc
18- cargo run -- . /documentation.json
19- cd ../..
20+ cd ${{env.workspace}}/main /stack-control-doc
21+ cargo run -- ${{env.workspace}} /documentation.json
22+ cd ${{env.workspace}}
2023 - name : Loading documentation branch
2124 uses : actions/checkout@v4
2225 with :
2326 ref : ' gen-documentation'
27+ path : doc
2428 - name : Publishing documentation
2529 run : |
26- cp ../stack-control/stack-control-doc/documentation.json ./documentation_v1.json
30+ cd ${{env.workspace}}/doc
31+ cp ${{env.workspace}}/documentation.json ./documentation_v1.json
2732 git config --global user.name 'CREAsTIVE'
2833 git config --global user.email 'CREAsTIVE@users.noreply.github.com'
2934 git commit -am "docs: documentation update for ${{env.github_sha}}"
You can’t perform that action at this time.
0 commit comments