From 9886036d4f24cee0b96ca6669f12614b6c5db974 Mon Sep 17 00:00:00 2001 From: michael spengler <43786652+michael-spengler@users.noreply.github.com> Date: Mon, 26 Oct 2020 21:31:20 +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..2ebd207 --- /dev/null +++ b/egg.json @@ -0,0 +1,10 @@ +{ + "name": "azure_functions", + "description": "Run Deno 🦕 on Azure Functions ⚡️", + "homepage": "https://github.com/anthonychu/azure-functions-deno-worker", + "files": [ + "./**/*.ts", + "README.md" + ], + "entry": "./mod.ts" + } \ No newline at end of file From 2b120d9f370d4ae83a42d9303d8f98c7d071643f Mon Sep 17 00:00:00 2001 From: michael spengler <43786652+michael-spengler@users.noreply.github.com> Date: Mon, 26 Oct 2020 21:31:21 +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