From 9595a949668f59422f6dab8718ecf283eaaf4517 Mon Sep 17 00:00:00 2001 From: Hong Minhee Date: Sat, 2 Mar 2024 19:57:22 +0900 Subject: [PATCH] Publish blog example to Deno Deploy --- .github/workflows/build.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index e9b300d..672fbd7 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -77,3 +77,18 @@ jobs: - if: github.ref_type == 'tag' run: '[[ "$(jq .version deno.json)" = "$GITHUB_REF_NAME" ]]' - run: deno task publish + + publish-examples-blog: + needs: [test, lint] + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: denoland/setup-deno@v1 + with: + deno-version: v1.x + - run: deno task codegen + - uses: denoland/deployctl@v1 + with: + project: fedify-blog + entrypoint: ./examples/blog/main.ts + root: .