Skip to content

Commit

Permalink
updating code
Browse files Browse the repository at this point in the history
  • Loading branch information
tosin2013 committed Nov 28, 2023
1 parent 77e07af commit be51a09
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/configure-rhel8-equinix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,11 @@ jobs:
with:
github-token: ${{ secrets.PAT }}
script: |
const core = require('@actions/core');
const github = require('@actions/github');
async function run() {
try {
await github.repos.createDispatchEvent({
owner: github.context.repo.owner,
repo: github.context.repo.repo,
owner: context.repo.owner,
repo: context.repo.repo,
event_type: "custom_restart",
client_payload: {
workflow: "Configure RHEL 8 Equinix Server"
Expand Down

0 comments on commit be51a09

Please sign in to comment.