You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pouchdb.apache.org by ja...@apache.org on 2026/04/29 10:36:07 UTC
(pouchdb) branch master updated (e69a50afc -> e51dad5b4)
This is an automated email from the ASF dual-hosted git repository.
janl pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/pouchdb.git
from e69a50afc eslint: update env to es2017 (#9229)
new acf21d24e ci: commit built docs to pouchdb-www repo, asf-site branch
new e51dad5b4 CI: update website deployment action with actual secret, repo and branch names for Apache deployment
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.github/workflows/docs.yml | 33 +++++++++++++++++++++++++++++++++
README.md | 5 +++++
2 files changed, 38 insertions(+)
(pouchdb) 02/02: CI: update website deployment action with actual secret, repo and branch names for Apache deployment
Posted by ja...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
janl pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pouchdb.git
commit e51dad5b44325e0fbf4eaf5fa5f72099567b49ca
Author: Alex Feyerke <al...@neighbourhood.ie>
AuthorDate: Wed Apr 29 12:11:42 2026 +0200
CI: update website deployment action with actual secret, repo and branch names for Apache deployment
---
.github/workflows/docs.yml | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index 1feb3018c..739518347 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -33,18 +33,18 @@ jobs:
- name: Setup SSH agent
uses: webfactory/ssh-agent@v0.9.0
with:
- ssh-private-key: ${{ secrets.DEPLOY_KEY }}
- - name: Checkout pouchdb-www repo
+ ssh-private-key: ${{ secrets.POUCHDB_WEBSITE_BUILD }}
+ - name: Checkout pouchdb-site repo
uses: actions/checkout@v4
with:
- repository: neighbourhoodie/pouchdb-www
+ repository: apache/pouchdb-site
ref: asf-site
- ssh-key: ${{ secrets.DEPLOY_KEY }}
- path: checked-out-pouchdb-www
+ ssh-key: ${{ secrets.POUCHDB_WEBSITE_BUILD }}
+ path: checked-out-pouchdb-site
fetch-depth: 0
- name: Commit and push if changed
run: |
- cd checked-out-pouchdb-www
+ cd checked-out-pouchdb-site
git config user.name "CI"
git config user.email "ci@users.noreply.github.com"
@@ -59,7 +59,7 @@ jobs:
echo "Committing changes…"
git add -A
git commit -m "Deploy site from ${GITHUB_REPOSITORY}@${GITHUB_SHA}"
- git push git@github.com:neighbourhoodie/pouchdb-www.git asf-site --force
+ git push git@github.com:apache/pouchdb-site.git asf-site --force
else
echo "No changes to commit"
fi
\ No newline at end of file
(pouchdb) 01/02: ci: commit built docs to pouchdb-www repo, asf-site branch
Posted by ja...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
janl pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pouchdb.git
commit acf21d24e819d1937dbbc82fad4dd7f6357eaf2c
Author: Alex Feyerke <al...@neighbourhood.ie>
AuthorDate: Fri Mar 27 17:33:10 2026 +0100
ci: commit built docs to pouchdb-www repo, asf-site branch
---
.github/workflows/docs.yml | 33 +++++++++++++++++++++++++++++++++
README.md | 5 +++++
2 files changed, 38 insertions(+)
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index 7110893cf..1feb3018c 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -30,3 +30,36 @@ jobs:
with:
node-version: 24
- run: BUILD=1 npm run build-site
+ - name: Setup SSH agent
+ uses: webfactory/ssh-agent@v0.9.0
+ with:
+ ssh-private-key: ${{ secrets.DEPLOY_KEY }}
+ - name: Checkout pouchdb-www repo
+ uses: actions/checkout@v4
+ with:
+ repository: neighbourhoodie/pouchdb-www
+ ref: asf-site
+ ssh-key: ${{ secrets.DEPLOY_KEY }}
+ path: checked-out-pouchdb-www
+ fetch-depth: 0
+ - name: Commit and push if changed
+ run: |
+ cd checked-out-pouchdb-www
+ git config user.name "CI"
+ git config user.email "ci@users.noreply.github.com"
+
+ # Juuust in case
+ git checkout asf-site
+
+ git rm -rf . || true
+
+ cp -R ../docs/_site/. .
+
+ if [[ -n $(git status --porcelain) ]]; then
+ echo "Committing changes…"
+ git add -A
+ git commit -m "Deploy site from ${GITHUB_REPOSITORY}@${GITHUB_SHA}"
+ git push git@github.com:neighbourhoodie/pouchdb-www.git asf-site --force
+ else
+ echo "No changes to commit"
+ fi
\ No newline at end of file
diff --git a/README.md b/README.md
index d08f85e98..2cd488685 100644
--- a/README.md
+++ b/README.md
@@ -12,6 +12,11 @@ Using PouchDB
To get started using PouchDB, check out the [web site](https://pouchdb.com) and [API documentation](https://pouchdb.com/api.html).
+Deploying the Documentation Site www.pouchdb.com
+------------------------------------------------
+
+Doc website deployment is handled automatically once the changes land in `master`.
+
Getting Help
------------