From e8a79ca40eaeece9ac089f207ef4cbc52a41e0ad Mon Sep 17 00:00:00 2001 From: michael spengler <43786652+michael-spengler@users.noreply.github.com> Date: Mon, 26 Oct 2020 21:22:44 +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 000000000..ae19d63e5 --- /dev/null +++ b/egg.json @@ -0,0 +1,10 @@ +{ + "name": "typeorm", + "description": "Forked from https://github.com/typeorm/typeorm", + "homepage": "https://github.com/denolib/typeorm", + "files": [ + "./**/*.ts", + "README.md" + ], + "entry": "./mod.ts" + } \ No newline at end of file From 1e43a48cd869252aaa60fddb444b90aa65036725 Mon Sep 17 00:00:00 2001 From: michael spengler <43786652+michael-spengler@users.noreply.github.com> Date: Mon, 26 Oct 2020 21:22:45 +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 000000000..8f7d4ad85 --- /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