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

Demo notify version #174

Merged
merged 4 commits into from
Jun 23, 2024
Merged
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
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}}"
Loading