From 1614fe8d5ce107bad08cf55cc6a53bf6b7ebfe23 Mon Sep 17 00:00:00 2001 From: "Muhammad.Muqarrab@aspose.com" <103718260+muqarrab-aspose@users.noreply.github.com> Date: Thu, 1 Oct 2026 09:56:05 +0500 Subject: [PATCH] Add pilot caller for the new reusable deploy-product workflow Calls aspose-tutorials-workflows/deploy-product.yml directly for both production and staging, instead of the manual two-stage pipeline (copycat into tutorials.aspose.com + manual workflow_dispatch of aspose-tutorials-workflows). workflow_dispatch only for now -- push stays commented out until a manual run is verified clean. Co-Authored-By: Claude Sonnet 5 --- .github/workflows/deploy-product.yml | 31 ++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/deploy-product.yml diff --git a/.github/workflows/deploy-product.yml b/.github/workflows/deploy-product.yml new file mode 100644 index 0000000000..6a64236561 --- /dev/null +++ b/.github/workflows/deploy-product.yml @@ -0,0 +1,31 @@ +name: Build and Deploy Tutorials + +# PILOT (see aspose-tutorials-workflows PR plan): calls the new reusable +# deploy-product.yml workflow directly instead of relying on +# CopyChangesToThemeRepo (main.yml) + a manual trigger of +# aspose-tutorials-workflows. `push:` is deliberately commented out while +# this is being verified by hand via workflow_dispatch -- re-enable it, +# and remove main.yml's Copycat step, once a manual run has been diffed +# clean against today's pipeline. + +on: + # push: + # branches: [ main ] + workflow_dispatch: + +jobs: + deploy: + strategy: + matrix: + environment: [production, staging] + uses: Aspose/aspose-tutorials-workflows/.github/workflows/deploy-product.yml@main + with: + product: html + environment: ${{ matrix.environment }} + secrets: + REPO_TOKEN: ${{ secrets.REPO_TOKEN }} + CEPH_S3_LIVE_ACCESS_KEY: ${{ secrets.CEPH_S3_LIVE_ACCESS_KEY }} + CEPH_S3_LIVE_SECRET_KEY: ${{ secrets.CEPH_S3_LIVE_SECRET_KEY }} + CEPH_S3_QA_ACCESS_KEY: ${{ secrets.CEPH_S3_QA_ACCESS_KEY }} + CEPH_S3_QA_SECRET_KEY: ${{ secrets.CEPH_S3_QA_SECRET_KEY }} + BUNNY_API_KEY: ${{ secrets.BUNNY_API_KEY }}