From f98c319ab48505ab98014cd1342bd4afd04ad5a7 Mon Sep 17 00:00:00 2001 From: Duart Snel Date: Mon, 3 Aug 2020 14:25:49 +0200 Subject: [PATCH] Create publishegg.yml --- .github/workflows/publishegg.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/publishegg.yml diff --git a/.github/workflows/publishegg.yml b/.github/workflows/publishegg.yml new file mode 100644 index 0000000..d5be95f --- /dev/null +++ b/.github/workflows/publishegg.yml @@ -0,0 +1,19 @@ +name: Publish Egg + +on: + release: + types: [published] + +jobs: + publish-egg: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: denolib/setup-deno@master + with: + deno-version: 1.2.1 + - run: deno install -A -f --unstable -n eggs https://x.nest.land/eggs@0.2.1/mod.ts + - run: | + export PATH="/home/runner/.deno/bin:$PATH" + eggs link ${{ secrets.NESTAPIKEY }} + eggs publish