From 31ba64dec2b154adeb85c33b6d0710965981a4d1 Mon Sep 17 00:00:00 2001 From: michael spengler <43786652+michael-spengler@users.noreply.github.com> Date: Mon, 26 Oct 2020 21:16:26 +0100 Subject: [PATCH 1/2] automatically adding egg.json --- 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..4ecf0fa --- /dev/null +++ b/egg.json @@ -0,0 +1,10 @@ +{ + "name": "cotton", + "description": "SQL Database Toolkit for Deno", + "homepage": "https://github.com/rahmanfadhil/cotton", + "files": [ + "./**/*.ts", + "README.md" + ], + "entry": "./mod.ts" + } \ No newline at end of file From 537d7b2b9f80ea909d9cbe64515e8f9448079d96 Mon Sep 17 00:00:00 2001 From: michael spengler <43786652+michael-spengler@users.noreply.github.com> Date: Mon, 26 Oct 2020 21:16:27 +0100 Subject: [PATCH 2/2] automatically adding workflow file --- .github/workflows/publish-to-nest.land.yml | 23 ++++++++++++++++++++++ 1 file changed, 23 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..8f7d4ad --- /dev/null +++ b/.github/workflows/publish-to-nest.land.yml @@ -0,0 +1,23 @@ +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 }} \ No newline at end of file