Skip to content

Commit

Permalink
releases github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
AFwcxx committed May 4, 2023
1 parent 7c380ea commit 799e6df
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 2 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/delivery-by-releases.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@

name: Delivery by releases

on:
release:
types: [published]

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Notify Slack
id: slack
uses: slackapi/[email protected]
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_ENDPOINT }}
with:
payload: |
{
"title": "Ordinal API New Release: ${{ github.event.release.name }}",
"content": "Release Version: ${{ github.event.release.name }}\nRelease Notes: ${{ github.server_url }}/${{ github.repository }}/releases/tag/${{ github.event.release.tag_name }}"
}
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ $ npm install

Start:

```javascript
```sh
$ npm start

# Optional: OR background it with screen
Expand All @@ -37,7 +37,7 @@ $ ./screen-ordinal-api.sh
## Usage

Because this is a temporary wrapper to the ord cli, this application should not be available to public.\
If it's behind a firewall, simplest option is to access using `SSH` local forwarding:\
If it's behind a firewall, simplest option is to access using `SSH` local forwarding:

```sh
$ ssh -N -T -L 3000:localhost:3000 username@host -i /path/to/identity
Expand Down

0 comments on commit 799e6df

Please sign in to comment.