Skip to content

Commit

Permalink
feat: add github action
Browse files Browse the repository at this point in the history
  • Loading branch information
amrron committed Oct 17, 2024
1 parent 7753483 commit 9219eb8
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/domcloud.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Sync on DOM Cloud
'on':
workflow_dispatch: {}
push:
branches:
- main
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Invoke deployment hook
uses: distributhor/workflow-webhook@v2
env:
webhook_url: https://my.domcloud.co/api/githubdeploy
webhook_secret: ${{ secrets.WEBHOOK_SECRET }}
webhook_auth: ${{ secrets.WEBHOOK_AUTH }}
data: '{"commands":["git pull"]}'

0 comments on commit 9219eb8

Please sign in to comment.