mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2024-11-22 16:56:40 -06:00
make docs preview rerunnable
This commit is contained in:
parent
b68aa0eb7a
commit
844ce1c0d8
80
.github/workflows/preview.yml
vendored
80
.github/workflows/preview.yml
vendored
@ -239,83 +239,5 @@ jobs:
|
||||
set -x
|
||||
cd nosqlbench-build-docs
|
||||
CHANGES=$(git status --porcelain 2>/dev/null| wc -l)
|
||||
git push --tags
|
||||
git push -f --tags
|
||||
echo "push completed"
|
||||
|
||||
|
||||
# javadocs:
|
||||
# needs: release
|
||||
# runs-on: ubuntu-20.04
|
||||
# steps:
|
||||
# - name: set git username
|
||||
# run: git config --global user.email "${{ secrets.NBDROID_EMAIL }}"
|
||||
# - name: set git email
|
||||
# run: git config --global user.name "${{ secrets.NBDROID_NAME }}"
|
||||
# - name: download javadocs
|
||||
# uses: actions/download-artifact@v3
|
||||
# with:
|
||||
# name: javadoc
|
||||
# - run: ls -la
|
||||
# - name: unpackage javadoc
|
||||
# run: unzip nosqlbench-*-javadoc.jar
|
||||
# - run: ls -la
|
||||
# - name: Push javadocs
|
||||
# uses: ad-m/github-push-action@master
|
||||
# with:
|
||||
# repository: nosqlbench/nosqlbench-javadoc
|
||||
# github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
# branch: main
|
||||
#
|
||||
#
|
||||
# docs:
|
||||
# needs: release
|
||||
# runs-on: ubuntu-20.04
|
||||
# steps:
|
||||
#
|
||||
# - name: set git username
|
||||
# run: git config --global user.email "${{ secrets.NBDROID_EMAIL }}"
|
||||
#
|
||||
# - name: set git email
|
||||
# run: git config --global user.name "${{ secrets.NBDROID_NAME }}"
|
||||
#
|
||||
# - name: download guidebook
|
||||
# uses: actions/download-artifact@v1
|
||||
# with:
|
||||
# name: guidebook
|
||||
# path: guidebook
|
||||
#
|
||||
# - run: ls -la
|
||||
#
|
||||
# - name: clone nosqlbench-docs
|
||||
# env:
|
||||
# NBDROID_NAME: ${{ secrets.NBDROID_NAME }}
|
||||
# NBDROID_TOKEN: ${{ secrets.NBDROID_TOKEN }}
|
||||
# run: |
|
||||
# git clone https://${{secrets.NBDROID_NAME}}:${{secrets.NBDROID_TOKEN}}@github.com/nosqlbench/nosqlbench-docs.git nosqlbench-docs
|
||||
# cd nosqlbench-docs
|
||||
# echo "files listing"
|
||||
# find .
|
||||
# git remote set-url origin https://${{secrets.NBDROID_NAME}}:${{secrets.NBDROID_TOKEN}}@github.com/nosqlbench/nosqlbench-docs.git
|
||||
# git remote -v
|
||||
#
|
||||
# Disabling this because it will be replaced soon.
|
||||
# - name: push changes
|
||||
# env:
|
||||
# NBDROID_NAME: ${{ secrets.NBDROID_NAME }}
|
||||
# NBDROID_TOKEN: ${{ secrets.NBDROID_TOKEN }}
|
||||
# run: |
|
||||
# rsync -av --delete guidebook/guidebook/ nosqlbench-docs/docs/
|
||||
# echo "docs.nosqlbench.io" > nosqlbench-docs/docs/CNAME
|
||||
# cd nosqlbench-docs
|
||||
# git add docs
|
||||
# git add -u
|
||||
# CHANGES=$(git status --porcelain 2>/dev/null| wc -l)
|
||||
# echo "found $CHANGES to push for doc updates"
|
||||
# if (( $CHANGES > 0 ))
|
||||
# then
|
||||
# git commit -m"docs update for $GITHUB_REF"
|
||||
# git push
|
||||
# fi
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user