From 69765791e0676db358afe9b321e516860a9b6f5d Mon Sep 17 00:00:00 2001 From: Nader Eloshaiker Date: Fri, 19 Jan 2024 17:24:30 +1100 Subject: [PATCH] update meta data --- .github/CODEOWNERS | 2 +- .github/workflows/example.yml | 2 +- README.md | 5 +++++ action.yml | 4 ++-- package.json | 12 ++++++------ 5 files changed, 15 insertions(+), 10 deletions(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 88c525c..4e871d2 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1 +1 @@ -* @cloudflare/pages \ No newline at end of file +* @nader-eloshaiker/cloudflare-pages \ No newline at end of file diff --git a/.github/workflows/example.yml b/.github/workflows/example.yml index ade64d3..4b1a680 100644 --- a/.github/workflows/example.yml +++ b/.github/workflows/example.yml @@ -9,7 +9,7 @@ jobs: name: Example steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Publish to Cloudflare Pages uses: ./ with: diff --git a/README.md b/README.md index 4fc73f5..89c7a72 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,10 @@ # Cloudflare Pages GitHub Action +## FORK NOTE + +This is a fork of the official CloudFlare Pages Action and allows the user to explicitly set the GitHub Environment when publishing +A PR is present requesting with an equivalent change since August 2023 and an issue against this requirement. + GitHub Action for creating Cloudflare Pages deployments, using the new [Direct Upload](https://developers.cloudflare.com/pages/platform/direct-upload/) feature and [Wrangler](https://developers.cloudflare.com/pages/platform/direct-upload/#wrangler-cli) integration. ## Usage diff --git a/action.yml b/action.yml index 68ec74b..001371f 100644 --- a/action.yml +++ b/action.yml @@ -1,5 +1,5 @@ -name: "Cloudflare Pages GitHub Action" -description: "Publish to Cloudflare Pages" +name: "Cloudflare Pages GitHub Action with GitHub Environments" +description: "Publish to Cloudflare Pages using explicit GitHub Environments" branding: icon: "upload-cloud" color: "orange" diff --git a/package.json b/package.json index 6c86547..9c23505 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { - "name": "pages-action", - "version": "1.5.0", - "description": "Publish to Cloudflare Pages", + "name": "cloudflare-pages-action", + "version": "1.0.0", + "description": "Publish to Cloudflare Pages using explicit GitHub Environments", "main": "index.js", "scripts": { "build": "npx esbuild src/index.ts --bundle --platform=node --target=es2021 --outfile=index.js", @@ -10,7 +10,7 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/cloudflare/pages-action.git" + "url": "git+https://github.com/nader-eloshaiker/cloudflare-pages-action.git" }, "keywords": [ "Cloudflare Pages", @@ -18,9 +18,9 @@ ], "license": "MIT", "bugs": { - "url": "https://github.com/cloudflare/pages-action/issues" + "url": "https://github.com/nader-eloshaiker/cloudflare-pages-action/issues" }, - "homepage": "https://github.com/cloudflare/pages-action#readme", + "homepage": "https://github.com/nader-eloshaiker/cloudflare-pages-action#readme", "dependencies": { "@actions/core": "^1.10.0", "@actions/github": "^5.1.1",