Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autopublishing this module to https://nest.land #24

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .github/workflows/publish-to-nest.land.yml
Original file line number Diff line number Diff line change
@@ -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 }}
10 changes: 10 additions & 0 deletions egg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
Copy link
Owner

@rahmanfadhil rahmanfadhil Oct 27, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please format the indentation in this file correctly (2 spaces)

"name": "cotton",
"description": "SQL Database Toolkit for Deno",
"homepage": "https://github.com/rahmanfadhil/cotton",
"files": [
"./**/*.ts",
"README.md"
],
"entry": "./mod.ts"
}