Receive push notification to your devices using Github Actions
To run this action you'll need:
- An API key from Push (https://push.techulus.com/)
- Create the workflow and choose any event of your choice.
- Copy and paste the following snippet into your .yml file.
- name: Send Push Notification uses: techulus/[email protected]- Add a new secret
API_KEY(your API key) and an environment variableMESSAGE(notification message) - Commit your changes!
name: Push on commiton: [push]jobs: build: runs-on: ubuntu-lateststeps: - name: Send Push Notificationuses: techulus/[email protected]env: API_KEY: ${{secrets.API_KEY }}MESSAGE: "There is a new commit!"name: Test push every dayon: schedule: - cron: '* 0 * * *'jobs: build: runs-on: ubuntu-lateststeps: - name: Send Push Notificationuses: techulus/[email protected]env: API_KEY: ${{secrets.API_KEY }}MESSAGE: "Test notification from GitHub"name: Test push every dayon: schedule: - cron: '* 0 * * *'jobs: build: runs-on: ubuntu-lateststeps: - name: Send Push Notificationuses: techulus/[email protected]env: API_KEY: ${{secrets.API_KEY }}MESSAGE: "Test notification from GitHub 🧪"TITLE: TestingLINK: https://github.com/techulus/push-github-actionSOUND: scifiTIME_SENSITIVE: trueFeature Request, Bugs and Ideas can be added here.
