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 13:09:49 UTC

(pouchdb) branch master updated (e51dad5b4 -> cd6f9475c)

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 e51dad5b4 CI: update website deployment action with actual secret, repo and branch names for Apache deployment
     new d6dcc1475 CI: attempt deployment without unauthorized ssh-agent action
     new cd6f9475c CI: only trigger website deployment on push to master

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 | 24 +++++++++---------------
 1 file changed, 9 insertions(+), 15 deletions(-)


(pouchdb) 02/02: CI: only trigger website deployment on push to master

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 cd6f9475cee97edc12b129614e40645633fc4c51
Author: Alex Feyerke <al...@neighbourhood.ie>
AuthorDate: Wed Apr 29 14:56:38 2026 +0200

    CI: only trigger website deployment on push to master
---
 .github/workflows/docs.yml | 11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)

diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index dab49c860..b1caf66e4 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -2,13 +2,6 @@ name: PouchDB Docs
 
 on:
   push:
-    paths:
-      - '.github/actions/**'
-      - '.github/workflows/docs.yml'
-      - 'package.json'
-      - 'bin/**'
-      - 'docs/**'
-  pull_request:
     branches: [master]
     paths:
       - '.github/actions/**'
@@ -54,11 +47,13 @@ jobs:
 
           cp -R ../docs/_site/. .
 
+          git remote -v
+
           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:apache/pouchdb-site.git asf-site --force
+            git push origin asf-site --force
           else
             echo "No changes to commit"
           fi
\ No newline at end of file


(pouchdb) 01/02: CI: attempt deployment without unauthorized ssh-agent action

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 d6dcc1475632ccaa365923391cd296a29684ae26
Author: Alex Feyerke <al...@neighbourhood.ie>
AuthorDate: Wed Apr 29 14:21:07 2026 +0200

    CI: attempt deployment without unauthorized ssh-agent action
---
 .github/workflows/docs.yml | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index 739518347..dab49c860 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -22,7 +22,7 @@ jobs:
   test-docs:
     runs-on: ubuntu-22.04
     steps:
-      - name: Checkout
+      - name: Checkout PouchDB repo
         uses: actions/checkout@v4
         with:
           persist-credentials: false
@@ -30,10 +30,6 @@ 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.POUCHDB_WEBSITE_BUILD }}
       - name: Checkout pouchdb-site repo
         uses: actions/checkout@v4
         with:
@@ -43,10 +39,13 @@ jobs:
           path: checked-out-pouchdb-site
           fetch-depth: 0
       - name: Commit and push if changed
+        env:
+          POUCHDB_WEBSITE_BUILD: ${{ secrets.POUCHDB_WEBSITE_BUILD }}
         run: |
           cd checked-out-pouchdb-site
-          git config user.name "CI"
-          git config user.email "ci@users.noreply.github.com"
+          git config url."https://asf-ci-deploy:$POUCHDB_WEBSITE_BUILD@github.com/".insteadOf "https://github.com/"
+          git config user.email ${{ github.actor }}@users.noreply.github.com
+          git config user.name ${{ github.actor }}
 
           # Juuust in case
           git checkout asf-site