File tree Expand file tree Collapse file tree 1 file changed +13
-11
lines changed
Expand file tree Collapse file tree 1 file changed +13
-11
lines changed Original file line number Diff line number Diff line change 11name : Update Docs
22on :
3- workflow_dispatch
3+ release :
4+ types : [published]
45
56jobs :
67 build :
78 runs-on : ubuntu-latest
89 steps :
910 # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
10- - name : Checkout The PR
11+ - name : Checkout The Master
1112 uses : actions/checkout@v2
13+ with :
14+ ref : master
15+ fetch-depth : 1
1216
1317 - name : Build
1418 shell : bash
1519 run : |
1620 SOURCE=$(pwd)
1721 cd docs
18- VERSION=$(basename ${GITHUB_REF})
19- echo "Version Being built: ${GITHUB_REF }"
22+ VERSION=$( basename ${GITHUB_REF} )
23+ echo "Version Being built: ${VERSION }"
2024 cat Doxyfile.in | \
21- sed s:' ${PROJECT_NAME}':' pdal-c': | \
22- sed s:' ${pdal-c_VERSION}': $GITHUB_REF: | \
23- sed s:' ${CMAKE_SOURCE_DIR}' :.: | \
24- sed s:' ${PDAL_INCLUDE_DIRS}' :NONE: \
25+ sed 's: ${PROJECT_NAME}: pdal-c:' | \
26+ sed 's: ${pdal-c_VERSION}: '$VERSION' :' | \
27+ sed 's: ${CMAKE_SOURCE_DIR}:.:' | \
28+ sed 's: ${PDAL_INCLUDE_DIRS}:NONE:' \
2529 > Doxyfile
2630
27- cat Doxyfile
28-
2931 - name : Run Doxygen
3032 uses :
mattnotmitt/[email protected] 3133 with :
4143 uses : ad-m/github-push-action@master
4244 with :
4345 github_token : ${{ secrets.GITHUB_TOKEN }}
44- branch : ${{ github.ref }}
46+ branch : master
4547
4648
4749
You can’t perform that action at this time.
0 commit comments