ci: drake emoji
This commit is contained in:
@@ -14,7 +14,7 @@ jobs:
|
|||||||
- run: |-
|
- run: |-
|
||||||
curl -sv "$GITHUB_API_URL/repos/codinget/actions-test/actions/workflows/test-inputs.yaml/dispatches" \
|
curl -sv "$GITHUB_API_URL/repos/codinget/actions-test/actions/workflows/test-inputs.yaml/dispatches" \
|
||||||
-X POST \
|
-X POST \
|
||||||
-H "Authorization: token $GITEA_TOKEN" \
|
-H "Authorization: token ${{ gitea.token }}" \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-d '{
|
-d '{
|
||||||
"ref": "refs/heads/main",
|
"ref": "refs/heads/main",
|
||||||
@@ -28,6 +28,6 @@ jobs:
|
|||||||
- name: Install tea
|
- name: Install tea
|
||||||
run: curl -sL "https://dl.gitea.com/tea/0.14.1/tea-0.14.1-linux-amd64" -o tea && chmod +x tea
|
run: curl -sL "https://dl.gitea.com/tea/0.14.1/tea-0.14.1-linux-amd64" -o tea && chmod +x tea
|
||||||
- name: Add token
|
- name: Add token
|
||||||
run: ./tea login add --url "${{ gitea.server_url }}" --token "${{ gitea.token }}"
|
run: ./tea login add --url "${{ gitea.server_url }}" --token "${{ gitea.token }}" --name gitea
|
||||||
- name: Trigger with tea
|
- name: Trigger with tea
|
||||||
run: ./tea actions workflows dispatch -r "${{ gitea.repository }}" -r main --login "${{ gitea.server_url }}" test-inputs.yaml
|
run: ./tea actions workflows dispatch -r "${{ gitea.repository }}" -r main --login "gitea" test-inputs.yaml
|
||||||
|
|||||||
Reference in New Issue
Block a user