mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
remove previous "nb" module, which will be replaced by the nb5 module soon
This commit is contained in:
21
.github/workflows/build.yml
vendored
21
.github/workflows/build.yml
vendored
@@ -68,9 +68,6 @@ jobs:
|
||||
with:
|
||||
name: exported-docs
|
||||
|
||||
- name: unzip docs
|
||||
run: unzip exported_docs.zip
|
||||
|
||||
- run: ls -la
|
||||
|
||||
- name: clone nosqlbench-build-docs
|
||||
@@ -85,18 +82,26 @@ jobs:
|
||||
git remote set-url origin https://${{secrets.NBDROID_NAME}}:${{secrets.NBDROID_TOKEN}}@github.com/nosqlbench/nosqlbench-build-docs.git
|
||||
git remote -v
|
||||
|
||||
- name: import zipfile
|
||||
run: |
|
||||
mv exported-docs.zip nosqlbench-build-docs/
|
||||
|
||||
- name: set CNAME
|
||||
run: |
|
||||
echo "previewdocs.nosqlbench.io" > nosqlbench-build-docs/site/static/CNAME
|
||||
|
||||
- name: commit changes
|
||||
run: |
|
||||
cd nosqlbench-build-docs
|
||||
git add -A
|
||||
|
||||
- name: push changes
|
||||
env:
|
||||
NBDROID_NAME: ${{ secrets.NBDROID_NAME }}
|
||||
NBDROID_TOKEN: ${{ secrets.NBDROID_TOKEN }}
|
||||
run: |
|
||||
set -x
|
||||
find . -ls
|
||||
rsync -av --delete -I --exclude '_index.md' drivers/ nosqlbench-build-docs/site/content/docs/drivers
|
||||
rsync -av --delete -I --exclude '_index.md' bindings/ nosqlbench-build-docs/site/content/docs/bindings
|
||||
echo "previewdocs.nosqlbench.io" > nosqlbench-build-docs/site/static/CNAME
|
||||
cd nosqlbench-build-docs
|
||||
git add -A
|
||||
CHANGES=$(git status --porcelain 2>/dev/null| wc -l)
|
||||
echo "found $CHANGES to push for doc updates"
|
||||
if (( $CHANGES > 0 ))
|
||||
|
||||
Reference in New Issue
Block a user