Skip to content

Commit

Permalink
Demo notify version (#174)
Browse files Browse the repository at this point in the history
* Update deploy-deno-deploy-files.yml

* Create notify-on-push.yml

* Update notify-on-push.yml

* Add final action
  • Loading branch information
K0IN authored Jun 23, 2024
1 parent 98b02c4 commit be15290
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions .github/workflows/deploy-deno-deploy-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-latest
name: Build and Push
steps:
- name: git-checkout
Expand All @@ -34,4 +34,19 @@ jobs:
BRANCH: deno-deploy-data
FOLDER: deploy
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MESSAGE: "Build: ({sha}) {msg}"
MESSAGE: "Build: ({sha}) {msg}"

send-version-notification:
runs-on: ubuntu-latest
needs: build
steps:
- uses: denoland/setup-deno@v1
with:
deno-version: vx.x.x\
- run: |
echo "Waiting for the deploy branch to be updated"
sleep 30
- name: Notify demo
run: |
deno run --allow-net --unstable --import-map https://raw.githubusercontent.com/K0IN/Notify/main/app/backend/deno.json https://raw.githubusercontent.com/K0IN/Notify/main/app/backend/main.ts notify -r https://notify-demo.deno.dev/api/notify -t "New notify version" -m "New Version Released ${{github.ref}}"

0 comments on commit be15290

Please sign in to comment.