Skip to content

Commit

Permalink
add md summary
Browse files Browse the repository at this point in the history
  • Loading branch information
assignUser committed Aug 19, 2022
1 parent 4d0d4ee commit 33ac5d5
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions dev/tasks/docs/github.linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,21 @@ jobs:
fetch-depth: 1
- name: Move docs
run: |
# build files are created by the docker user
sudo chown -R ${USER}: build
mkdir -p crossbow/docs/pr/{{ pr_number }}
rsync -a --delete build/docs/ crossbow/docs/pr/{{ pr_number }}
PR_DIR=crossbow/docs/pr_docs/{{ pr_number }}
mkdir -p $PR_DIR
rsync -a --delete build/docs/ $PR_DIR
- name: Push changes
run: |
cd crossbow
git config --local user.name "Github Actions"
git config --local user.email "[email protected]"
git add docs/pr/{{ pr_number }}
URL_PATH=pr_docs/{{ pr_number }}
URL=https://crossbow.voltrondata.com/$URL_PATH
git add docs/$URL_PATH
git commit -m "Add docs preview for PR {{ pr_number }}"
git push
echo ":open_book: You can find the preview here $URL" >> $GITHUB_STEP_SUMMARY

0 comments on commit 33ac5d5

Please sign in to comment.