From 749cd5ba9c8f1d107c4664b3deca05aea7858ca7 Mon Sep 17 00:00:00 2001 From: michael spengler <43786652+michael-spengler@users.noreply.github.com> Date: Wed, 4 Nov 2020 22:46:59 +0100 Subject: [PATCH 1/2] automatically adding egg.json for https://nest.land --- egg.json | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 egg.json diff --git a/egg.json b/egg.json new file mode 100644 index 0000000..6ef2f11 --- /dev/null +++ b/egg.json @@ -0,0 +1,10 @@ +{ + "name": "qrcode", + "description": "📇 Generate QR code images in Deno", + "homepage": "https://github.com/denorg/qrcode", + "files": [ + "./**/*.ts", + "README.md" + ], + "entry": "./mod.ts" +} From 726cba75c5518c9e3293e75cddc80a49385fffed Mon Sep 17 00:00:00 2001 From: michael spengler <43786652+michael-spengler@users.noreply.github.com> Date: Wed, 4 Nov 2020 22:47:00 +0100 Subject: [PATCH 2/2] automatically adding workflow file --- .github/workflows/publish-to-nest.land.yml | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/publish-to-nest.land.yml diff --git a/.github/workflows/publish-to-nest.land.yml b/.github/workflows/publish-to-nest.land.yml new file mode 100644 index 0000000..e341520 --- /dev/null +++ b/.github/workflows/publish-to-nest.land.yml @@ -0,0 +1,25 @@ +name: "publish current release to https://nest.land" + +on: + release: + types: + - published + +jobs: + publishToNestDotLand: + runs-on: ubuntu-latest + + steps: + - name: Setup repo + uses: actions/checkout@v2 + + - name: "setup" # check: https://github.com/actions/virtual-environments/issues/1777 + uses: denolib/setup-deno@v2 + with: + deno-version: v1.4.6 + + - name: "check nest.land" + run: | + deno run --allow-net --allow-read --allow-run https://deno.land/x/cicd/publish-on-nest.land.ts ${{ secrets.GITHUB_TOKEN }} ${{ secrets.NESTAPIKEY }} ${{ github.repository }} + +