Skip to content

Commit

Permalink
Replace hoa.moe with hoa-moe in .github/workflows/trigger-workflow.yml (
Browse files Browse the repository at this point in the history
  • Loading branch information
kowyo authored Oct 21, 2024
1 parent 88dcc8a commit 3e44d03
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/trigger-workflow.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Trigger Workflow in hoa.moe
name: Trigger Workflow in hoa-moe

on:
push:
Expand All @@ -9,12 +9,12 @@ jobs:
trigger:
runs-on: ubuntu-latest
steps:
- name: Trigger workflow in hoa.moe
- name: Trigger workflow in hoa-moe
env:
GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
run: |
curl -X POST \
-H "Accept: application/vnd.github.v3+json" \
-H "Authorization: token $GITHUB_TOKEN" \
https://api.github.com/repos/HITSZ-OpenAuto/hoa.moe/actions/workflows/course.yaml/dispatches \
https://api.github.com/repos/HITSZ-OpenAuto/hoa-moe/actions/workflows/course.yaml/dispatches \
-d '{"ref":"main"}'

0 comments on commit 3e44d03

Please sign in to comment.