diff --git a/.github/workflows/nestland.yml b/.github/workflows/nestland.yml new file mode 100644 index 000000000..51cc23c00 --- /dev/null +++ b/.github/workflows/nestland.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.1.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 diff --git a/README.md b/README.md index dec019e24..349c9dfcd 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,7 @@ Discord API library wrapper in Deno [Website](https://discordeno.netlify.app) +[![nest badge](https://nest.land/badge-large.svg)](https://nest.land/package/your-package) ![Documentation](https://github.com/Skillz4Killz/Discordeno/workflows/Documentation/badge.svg) ![Testing](https://github.com/Skillz4Killz/Discordeno/workflows/Testing/Linting/badge.svg) @@ -75,7 +76,7 @@ Client({ }); ``` -Alternatively, you can use boilerplate template repositories that were created by wonderful developers. Review the list on the website, and add any of yours if you make your own. +Alternatively, you can use boilerplate template repositories that were created by wonderful developers. Review the list on the website, and add any of yours if you make your own. ![image](https://i.imgur.com/z1BfUnt.png) diff --git a/egg.yml b/egg.yml index bbfc688ca..5a747887f 100644 --- a/egg.yml +++ b/egg.yml @@ -5,4 +5,8 @@ description: >- version: 7.1.0 stable: true files: - - '' + - ./src/**/* + - LICENSE + - mod.ts + - README.md + - tsconfig.json