From bffa90cdd8990c0ab7daab9b7dd705a3acc21bc6 Mon Sep 17 00:00:00 2001 From: oSumAtrIX Date: Sun, 11 Jun 2023 17:47:34 +0200 Subject: [PATCH 1/4] ci: add name to workflow --- .../{pr-deployment-previews.yml => deploy_pr_preview.yml} | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) rename .github/{pr-deployment-previews.yml => deploy_pr_preview.yml} (88%) diff --git a/.github/pr-deployment-previews.yml b/.github/deploy_pr_preview.yml similarity index 88% rename from .github/pr-deployment-previews.yml rename to .github/deploy_pr_preview.yml index 79ffc5f..a8d11a5 100644 --- a/.github/pr-deployment-previews.yml +++ b/.github/deploy_pr_preview.yml @@ -1,3 +1,5 @@ +name: Deploy PR Preview + on: pull_request jobs: @@ -7,7 +9,7 @@ jobs: contents: read deployments: write pull-requests: write - name: Publish to Cloudflare Pages + name: Deploy PR Preview steps: - name: Checkout uses: actions/checkout@v3 @@ -21,7 +23,7 @@ jobs: projectName: ${{ secrets.CLOUDFLARE_PROJECT_NAME }} directory: public - - name: Comment + - name: Comment deployment URL uses: thollander/actions-comment-pull-request@v2 with: GITHUB_TOKEN: ${{ secrets.PULL_REQUESTS_WRITE }} From d7f5e6891ace2344cd63851f5e7c8fc0b19e1e35 Mon Sep 17 00:00:00 2001 From: oSumAtrIX Date: Sun, 11 Jun 2023 18:20:53 +0200 Subject: [PATCH 2/4] feat: use better dialogue button text --- src/routes/+layout.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 3e479f2..449faaa 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -135,7 +135,7 @@ optional and won't impact your experience. - + From c4c5086269defb7f12266a362da264324d276809 Mon Sep 17 00:00:00 2001 From: oSumAtrIX Date: Sun, 11 Jun 2023 19:01:46 +0200 Subject: [PATCH 3/4] ci: move workflow file to correct path --- .github/{ => workflows}/deploy_pr_preview.yml | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/{ => workflows}/deploy_pr_preview.yml (100%) diff --git a/.github/deploy_pr_preview.yml b/.github/workflows/deploy_pr_preview.yml similarity index 100% rename from .github/deploy_pr_preview.yml rename to .github/workflows/deploy_pr_preview.yml From f3e2a7d0e53991862d1e9c9504807a0986d39dd1 Mon Sep 17 00:00:00 2001 From: oSumAtrIX Date: Mon, 12 Jun 2023 01:32:41 +0200 Subject: [PATCH 4/4] ci: move `with` to `uses` --- .github/workflows/deploy_pr_preview.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy_pr_preview.yml b/.github/workflows/deploy_pr_preview.yml index a8d11a5..844c058 100644 --- a/.github/workflows/deploy_pr_preview.yml +++ b/.github/workflows/deploy_pr_preview.yml @@ -16,12 +16,12 @@ jobs: - name: Publish to Cloudflare Pages uses: cloudflare/pages-action@v1 - id: publish with: apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} projectName: ${{ secrets.CLOUDFLARE_PROJECT_NAME }} directory: public + id: publish - name: Comment deployment URL uses: thollander/actions-comment-pull-request@v2