Skip to content

Commit

Permalink
chore(ci): add release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
c4spar committed Mar 28, 2021
1 parent 7f3bf24 commit b312b99
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Release

on:
release:
types:
- created

jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Setup repo
uses: actions/checkout@v2

- name: Setup Deno
uses: denolib/setup-deno@v2
with:
deno-version: v1.x

- name: Setup eggs
run: >
deno install --unstable --allow-all https://x.nest.land/eggs@0.3.5/eggs.ts &&
eggs link "${NEST_TOKEN}"
env:
NEST_TOKEN: ${{ secrets.NEST_TOKEN }}

- name: Publish Nest.land
run: eggs publish --no-check --yes

0 comments on commit b312b99

Please sign in to comment.