From 814cab4288e315af7370945944d06c7450aceab8 Mon Sep 17 00:00:00 2001 From: Rushil Perera Date: Mon, 3 Jun 2024 07:10:26 -0400 Subject: [PATCH] ci: re-enable continuous deployment --- .github/workflows/main.yml | 33 +++++++++++++++------------------ 1 file changed, 15 insertions(+), 18 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 392fde0..4a8a030 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,20 +1,17 @@ name: Deploy +on: + push: + branches: + - main -# on: -# push: -# branches: -# - main - -# jobs: -# deploy: -# runs-on: ubuntu-latest -# name: Deploy -# steps: -# - uses: actions/checkout@v4 -# - uses: oven-sh/setup-bun@v1 -# with: -# bun-download-url: "https://github.com/oven-sh/bun/releases/latest/download/bun-${{runner.os == 'macOS' && 'darwin' || runner.os}}-${{ runner.arch == 'X64' && 'x64' || 'arm64' }}.zip" -# - name: Deploy -# uses: cloudflare/wrangler-action@v3 -# with: -# apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} +jobs: + deploy: + runs-on: ubuntu-latest + name: Deploy + steps: + - uses: actions/checkout@v4 + - uses: oven-sh/setup-bun@v1 + - name: Deploy + uses: cloudflare/wrangler-action@v3 + with: + apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}