diff --git a/.github/workflows/deploy-deno-deploy-files.yml b/.github/workflows/deploy-deno-deploy-files.yml index ce8f2dc..e438407 100644 --- a/.github/workflows/deploy-deno-deploy-files.yml +++ b/.github/workflows/deploy-deno-deploy-files.yml @@ -7,7 +7,7 @@ on: jobs: build: - runs-on: ubuntu-latest + runs-on: ubuntu-latest name: Build and Push steps: - name: git-checkout @@ -34,4 +34,19 @@ jobs: BRANCH: deno-deploy-data FOLDER: deploy GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - MESSAGE: "Build: ({sha}) {msg}" \ No newline at end of file + 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}}"