From b312b993324c6ae40b0c8babd4af6a97583e1e1b Mon Sep 17 00:00:00 2001 From: Benjamin Fischer Date: Mon, 29 Mar 2021 00:54:58 +0200 Subject: [PATCH] chore(ci): add release workflow --- .github/workflows/release.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..60ff575 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,29 @@ +name: Release + +on: + release: + types: + - created + +jobs: + release: + name: Release + runs-on: ubuntu-latest + steps: + - name: Setup repo + uses: actions/checkout@v2 + + - name: Setup Deno + uses: denolib/setup-deno@v2 + with: + deno-version: v1.x + + - name: Setup eggs + run: > + deno install --unstable --allow-all https://x.nest.land/eggs@0.3.5/eggs.ts && + eggs link "${NEST_TOKEN}" + env: + NEST_TOKEN: ${{ secrets.NEST_TOKEN }} + + - name: Publish Nest.land + run: eggs publish --no-check --yes