From 352d239f374792e1b36f342f08464d4b9396011e Mon Sep 17 00:00:00 2001 From: Mahmoud Salem Date: Sat, 25 May 2024 22:09:47 +0100 Subject: [PATCH] add wrangler deployment github action --- .github/workflows/deploy.yml | 17 +++++++++++++++++ package-lock.json | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/deploy.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..44037b2 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,17 @@ +name: Deploy + +on: + push: + branches: + - main + +jobs: + deploy: + runs-on: ubuntu-latest + name: Deploy + steps: + - uses: actions/checkout@v4 + - name: Deploy + uses: cloudflare/wrangler-action@v3 + with: + apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index eda17a5..5339603 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,5 +1,5 @@ { - "name": "egypt-tech-scene", + "name": "egytech-fyi-api", "lockfileVersion": 3, "requires": true, "packages": {