This is an automated email from the ASF dual-hosted git repository.
jark pushed a commit to branch ci-trigger-deploy
in repository https://gitbox.apache.org/repos/asf/fluss.git
The following commit(s) were added to refs/heads/ci-trigger-deploy by this push:
new beb78c20 trigger
beb78c20 is described below
commit beb78c2046ebc0deb6ad39b8b77ac6b52c032e67
Author: Jark Wu <[email protected]>
AuthorDate: Fri Jul 11 21:05:47 2025 +0800
trigger
---
.../{docs-deploy.yaml => docs-trigger-deploy.yaml} | 42 +++++-----------------
1 file changed, 9 insertions(+), 33 deletions(-)
diff --git a/.github/workflows/docs-deploy.yaml
b/.github/workflows/docs-trigger-deploy.yaml
similarity index 51%
rename from .github/workflows/docs-deploy.yaml
rename to .github/workflows/docs-trigger-deploy.yaml
index 8ebb40af..f09763d8 100644
--- a/.github/workflows/docs-deploy.yaml
+++ b/.github/workflows/docs-trigger-deploy.yaml
@@ -15,7 +15,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
################################################################################
-name: Deploy Documentation
+name: Trigger Documentation Deploy
on:
push:
branches: [main, release-*, ci-*]
@@ -25,37 +25,13 @@ on:
jobs:
deploy:
runs-on: ubuntu-latest
- defaults:
- run:
- working-directory: ./website
steps:
- - uses: actions/checkout@v4
- with:
- ref: ci-test-docs-deploy
- fetch-depth: 0
- - name: Generate versioned docs
- run: ./build_versioned_docs.sh
- - uses: actions/setup-node@v4
- with:
- node-version: 18
- - name: Install dependencies
- run: npm install
- - name: Build website
- run: npm run build
- - name: Copy ASF Files
+ - name: Send Event to Trigger Deploy
run: |
- cp .asf.yaml .htaccess ./build/
- - name: Setup SSH
- env:
- SSH_AUTH_SOCK: /tmp/ssh_agent.sock
- run: |
- ssh-agent -a $SSH_AUTH_SOCK > /dev/null
- ssh-add - <<< "${{ secrets.GH_PAGES_DEPLOY }}"
- - name: Deploy website
- env:
- SSH_AUTH_SOCK: /tmp/ssh_agent.sock
- USE_SSH: true
- run: |
- git config --global user.email "[email protected]"
- git config --global user.name "gh-actions"
- npm run deploy -- --skip-build
\ No newline at end of file
+ curl -L \
+ -X POST \
+ -H "Accept: application/vnd.github+json" \
+ -H "Authorization: Bearer ${{ secrets.GH_TOKEN }}" \
+ -H "X-GitHub-Api-Version: 2022-11-28" \
+ https://api.github.com/repos/apache/fluss-website/dispatches \
+ -d '{"event_type":"website-deploy","client_payload":{"repository":
"apache/fluss"}}'
\ No newline at end of file