Skip to content

Commit

Permalink
[update #7] add cd pong workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tiawl authored Apr 26, 2024
2 parents 2fdbb3e + 4dccfaf commit 49ff792
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/pong.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: cd pong

on:
repository_dispatch:
types:
- ping

jobs:
pong:
permissions:
contents: write
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: tiawl/spaceporn-dep-action-cd-pong@v1
if: contains(fromJSON('["spaceporn-dep-action-cd-ping", "spaceporn-dep-action-cd-pong"]'), github.event.client_payload.dependency)
with:
dependency: "${{ github.event.client_payload.dependency }}"
tag: "${{ github.event.client_payload.tag }}"
hash: "${{ github.event.client_payload.hash }}"
token: "${{ github.token }}"

0 comments on commit 49ff792

Please sign in to comment.