Skip to content

Commit

Permalink
Merge pull request #42 from OpsLevel/kr/start-custom-action-base
Browse files Browse the repository at this point in the history
Create custom_action.yaml
  • Loading branch information
rocktavious authored Oct 25, 2024
2 parents cf09b2d + b9f98c6 commit 97f9df4
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/custom_action.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: "Custom Actions Handler"

on:
repository_dispatch:
types:
- actions

jobs:
handler:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Terraform
uses: hashicorp/setup-terraform@v3
with:
terraform_version: "1.9.1"
- name: Install Task
uses: arduino/setup-task@v2
with:
version: 3.x
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Apply
env:
PAYLOAD: "${{ toJson(github.event.client_payload) }}"
run: |
task apply-demo

0 comments on commit 97f9df4

Please sign in to comment.