From 024bdf5e2cb42798194752161692381ff02b69bb Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Thu, 1 Oct 2020 18:12:52 +0200 Subject: [PATCH] :wrench: Improve CI --- .github/workflows/doc.yml | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml index 0228d298..98408564 100644 --- a/.github/workflows/doc.yml +++ b/.github/workflows/doc.yml @@ -12,12 +12,8 @@ jobs: if: "!contains(github.event.head_commit.message, '[skip ci]')" steps: - - name: Clone and push - run: | - git clone https://github.com/fennecdjay/gwion-docs - cd gwion-docs - git config --local user.email "action@github.com" - git config --local user.name "GitHub Action" - git commit --allow-empty -m "update gwion" - git remote set-url origin https://${{ secrets.GWION_DOC }}@github.com/fennecdjay/gwion-docs.git - git push + - env: + ORG: fennecdjay + REPO: gwion-docs + - name: Trigger docs build + run: curl -H "Content-Type: application/json" -H "Authorization: token ${{ secrets.GWION_DOC }}" -H "Accept: application/vnd.github.everest-preview+json" "https://api.github.com/repos/${ORG}/${REPO}/dispatches" -- 2.43.0