From 8fb158ad7feb43db8e272c5f210d37a88a596a26 Mon Sep 17 00:00:00 2001 From: NOCanoa <158103554+NOCanoa@users.noreply.github.com> Date: Thu, 29 Aug 2024 00:16:41 +0100 Subject: [PATCH] yml --- .github/workflows/buildcnd.yml | 4 ++-- .github/workflows/cdn.yml | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/buildcnd.yml b/.github/workflows/buildcnd.yml index db15416..2fa1de2 100644 --- a/.github/workflows/buildcnd.yml +++ b/.github/workflows/buildcnd.yml @@ -1,6 +1,6 @@ name: DDeploy to BunnyCDN? -on: [workflow_dispatch] +on: [push, workflow_dispatch] jobs: build: @@ -44,7 +44,7 @@ jobs: - name: Deploy to BunnyCDN uses: ayeressian/bunnycdn-storage-deploy@v2.2.3 with: - source: "${{ env.BUILD_PATH }}/dist" + source: "home/runner/work/docs/docs/dist" destination: "www/aaa" storageEndpoint: "storage.bunnycdn.com" storageZoneName: "${{ secrets.STORAGE_NAME }}" diff --git a/.github/workflows/cdn.yml b/.github/workflows/cdn.yml index 73708ec..cf2a344 100644 --- a/.github/workflows/cdn.yml +++ b/.github/workflows/cdn.yml @@ -1,6 +1,6 @@ name: DDeploy to BunnyCDN? -on: [push, workflow_dispatch] +on: [workflow_dispatch] jobs: cd: @@ -12,7 +12,6 @@ jobs: uses: ayeressian/bunnycdn-storage-deploy@v2.2.3 with: source: "dist" - destination: "www/aaa" storageEndpoint: "storage.bunnycdn.com" storageZoneName: "${{ secrets.STORAGE_NAME }}" storagePassword: "${{ secrets.STORAGE_PASSWORD }}"