From 5f72ad69c25f02a1856be0a1012ee3b1e89de4ee Mon Sep 17 00:00:00 2001 From: m1sk9 Date: Sat, 20 Jul 2024 03:34:48 +0900 Subject: [PATCH] ci: add deploy ci --- .github/workflows/deploy.yaml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/deploy.yaml diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml new file mode 100644 index 0000000..6d77844 --- /dev/null +++ b/.github/workflows/deploy.yaml @@ -0,0 +1,28 @@ +name: ci + +on: + push: + branches: [ main ] + workflow_dispatch: + +permissions: + id-token: write + contents: read + +jobs: + test: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Setup deno + uses: denoland/setup-deno@v1 + with: + deno-version: v1.x + + - name: Deploy to Deno Deploy + uses: denoland/deployctl@v1 + with: + project: pulsate-blog + entrypoint: main.ts