File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,14 +18,15 @@ jobs:
1818 ref : " dev"
1919 token : ${{ secrets.ALIBUILD_WORKFLOW_PUSH_TOKEN }}
2020 persist-credentials : false
21- run : |
22- cat > CMakeLists.txt <<\EOF
23- add_subdirectory(doc)
24- EOF
25- cmake .
26- make doc
27- git add doc/html
28- git config --global user.email "github-action-bot@example.com"
29- git config --global user.name "GitHub Action Bot"
30- git commit -m "Updated README" -a || echo "No changes to commit"
31- git push https://github.com/AliceO2Group/docs `git subtree split --prefix doc/html dev`:refs/heads/main --force
21+ - name : Build docs
22+ run : |
23+ cat > CMakeLists.txt <<\EOF
24+ add_subdirectory(doc)
25+ EOF
26+ cmake .
27+ make doc
28+ git add doc/html
29+ git config --global user.email "github-action-bot@example.com"
30+ git config --global user.name "GitHub Action Bot"
31+ git commit -m "Updated README" -a || echo "No changes to commit"
32+ git push https://github.com/AliceO2Group/docs `git subtree split --prefix doc/html dev`:refs/heads/main --force
You can’t perform that action at this time.
0 commit comments