Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/netlify-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ jobs:
cp -rvT src/docs/* dst/docs/.
cp -v src/sidebars.js dst/sidebars.js

- name: Check For New Files
- name: Check for new or changed files
id: newFiles
shell: bash
working-directory: dest
working-directory: dst
run: |
git add -A
if [ $(git status --porcelain | wc -l) -gt 0 ]; then
Expand All @@ -45,7 +45,7 @@ jobs:
echo "::set-output name=hasNewFiles::false"
fi

- name: Push New Files
- name: Synchronize docs with main website
if: ${{ steps.newFiles.outputs.hasNewFiles == 'true' }}
shell: bash
working-directory: dst
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/netlify-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,14 @@ name: "Preview deploy"

on:
pull_request:
types: ["opened", "edited", "synchronize", "labeled"]
types: ["opened", "edited", "synchronize"]

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
deploy:
if: ${{ github.event.label.name == 'run-ci' }}
name: "build on Netlify"
runs-on: ubuntu-latest

Expand All @@ -19,8 +18,9 @@ jobs:
uses: actions/checkout@v4
with:
repository: questdb/questdb.io
token: ${{ secrets.DEPLOY_TOKEN }} # `GH_PAT` is a secret that contains your PAT
token: ${{ secrets.DEPLOY_TOKEN }}
fetch-depth: 0
ref: "master"
persist-credentials: true

- name: Checkout local docs
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# documentation

The questDB docs test2.
The questDB docs test3.