actions debugging

This commit is contained in:
Jonathan Shook 2020-03-12 22:50:22 -05:00 committed by GitHub
parent ed7d3c40d2
commit 62f0255ec0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -122,17 +122,20 @@ jobs:
run: git config --global user.email "${{ secrets.NBDROID_EMAIL }}" run: git config --global user.email "${{ secrets.NBDROID_EMAIL }}"
- name: set git email - name: set git email
run: git config --global user.name "${{ secrets.NBDROID_NAME }}" run: git config --global user.name "${{ secrets.NBDROID_NAME }}"
- uses: actions/download-artifact@v1 - name: download guidebook
uses: actions/download-artifact@v1
with: with:
name: guidebook name: guidebook
path: guidebook path: guidebook
- run: ls -la - run: ls -la
- name: checkout docs - name: clone nosqlbench-docs
env: env:
NBDROID_NAME: ${{ secrets.NBDROID_NAME }} NBDROID_NAME: ${{ secrets.NBDROID_NAME }}
NBDROID_TOKEN: ${{ secrets.NBDROID_TOKEN }} NBDROID_TOKEN: ${{ secrets.NBDROID_TOKEN }}
run: | run: |
git clone https://${{secrets.NBDROID_NAME}}:${{secrets.NBDROID_TOKEN}}@github.com/nosqlbench/nosqlbench-docs.git nosqlbench-docs git clone https://${{secrets.NBDROID_NAME}}:${{secrets.NBDROID_TOKEN}}@github.com/nosqlbench/nosqlbench-docs.git nosqlbench-docs
git remote set-url origin https://${{secrets.NBDROID_NAME}}:${{secrets.NBDROID_TOKEN}}@github.com/nosqlbench/nosqlbench-docs.git
- name: push changes
rsync -av --delete guidebook/ nosqlbench-docs/docs/ rsync -av --delete guidebook/ nosqlbench-docs/docs/
cd nosqlbench-docs cd nosqlbench-docs
git add docs git add docs