From 8aad9b0db07600232ae3cda173b52206d6192381 Mon Sep 17 00:00:00 2001 From: "Ali(Ako) Hosseini" Date: Tue, 7 Nov 2023 15:32:13 +0800 Subject: [PATCH 1/2] ci: use staging cf workflow --- .github/workflows/release_staging.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release_staging.yml b/.github/workflows/release_staging.yml index 44ebfdb8735..e568eb9ef8d 100644 --- a/.github/workflows/release_staging.yml +++ b/.github/workflows/release_staging.yml @@ -26,7 +26,7 @@ jobs: target: translations - uses: "./.github/actions/versioning" with: - target_branch: production + target_branch: staging - name: "Run Tests" run: npm run test - uses: actions/upload-artifact@v3 @@ -34,7 +34,7 @@ jobs: name: dist path: dist publish_cloudflare_production: - name: Publish to Cloudflare Pages Production + name: Publish to Cloudflare Pages Staging runs-on: ubuntu-latest needs: [build_and_test] steps: @@ -47,7 +47,7 @@ jobs: - uses: actions/download-artifact@v3.0.2 with: path: dist - - uses: "./.github/actions/publish_to_pages_production" + - uses: "./.github/actions/publish_to_pages_staging" with: CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }} CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} From 2b9813660e8cd66033b0e48d76138dc4567e5344 Mon Sep 17 00:00:00 2001 From: "Ali(Ako) Hosseini" Date: Tue, 7 Nov 2023 15:35:08 +0800 Subject: [PATCH 2/2] ci: update workflow name --- .github/workflows/release_staging.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release_staging.yml b/.github/workflows/release_staging.yml index e568eb9ef8d..e5727cfc6aa 100644 --- a/.github/workflows/release_staging.yml +++ b/.github/workflows/release_staging.yml @@ -33,7 +33,7 @@ jobs: with: name: dist path: dist - publish_cloudflare_production: + publish_cloudflare_staging: name: Publish to Cloudflare Pages Staging runs-on: ubuntu-latest needs: [build_and_test]