File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change 1919 echo "REPO_SOURCE=$(echo '${{ github.repository }}' | awk -F '/' '{print $2}')" >> $GITHUB_ENV
2020 echo "REPO_DEST=$(echo '${{ github.repository }}' | awk -F '/' '{print $2}').wiki" >> $GITHUB_ENV
2121 shell : bash
22- - name : Generate build number
23- uses : einaregilsson/build-number@v3
24- with :
25- token : ${{secrets.github_token}}
2622 - name : Checkout ${REPO_SOURCE} Repository
2723 run : git clone https://github.com/${ORG}/${REPO_SOURCE}.git ${REPO_SOURCE}
2824 - name : Checkout ${REPO_DEST} Repository
5450 cd ${REPO_DEST}
5551 git status
5652 git add .
57- git commit -m "${REPO_SOURCE} documentation | GitHub Actions build number $BUILD_NUMBER "
53+ git commit -m "${REPO_SOURCE} documentation | GitHub Actions $GITHUB_WORKFLOW $GITHUB_RUN_NUMBER "
5854 git remote add origin-wiki "https://${BUILD_USER}:${BUILD_USER_PASSWD}@github.com/${ORG}/${REPO_DEST}.git"
5955 git push origin-wiki master
6056 - name : Sync devonfw guide
6965 git pull
7066 cd ..
7167 git add .
72- git commit -m "${REPO_SOURCE} documentation | GitHub Actions build number $BUILD_NUMBER "
68+ git commit -m "${REPO_SOURCE} documentation | GitHub Actions $GITHUB_WORKFLOW $GITHUB_RUN_NUMBER "
7369 git remote add origin-wiki "https://${BUILD_USER}:${BUILD_USER_PASSWD}@github.com/${ORG}/${REPO_CONSOLIDATE}.git"
7470 git push origin-wiki master
You can’t perform that action at this time.
0 commit comments