Skip to content

Commit

Permalink
ci: Add action to trigger staging website deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
geokrety-bot committed Aug 10, 2023
1 parent e5c640b commit 6efb6d0
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/actions/deploy-website/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Deploy staging website
inputs:
header_name:
required: true
header_value:
required: true
webhook_endpoint:
required: true

runs:
using: "composite"
steps:
- name: Call webhook
shell: bash
run: |
curl -X POST -H "${{ inputs.header_name }}: ${{ inputs.header_value }}" ${{ inputs.webhook_endpoint }} -H "Content-Type: application/json" -d null

0 comments on commit 6efb6d0

Please sign in to comment.