diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 5e8df1b..5049af0 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -24,10 +24,10 @@ jobs: - name: Test API env: - FORGEJO_TOKEN: ${{ secrets.FORGEJO_TOKEN }} + MY_TOKEN: ${{ secrets.FORGEJO_TOKEN }} run: | - curl -v -H "Authorization: Bearer ${FORGEJO_TOKEN}" \ - "https://git.askar.tv/api/actions_pipeline/_apis/pipelines/workflows/main.yml/runs?status=success" + curl -v -H "Authorization: token $MY_TOKEN" \ + "https://git.askar.tv/api/v1/repos/${{ github.repository }}/actions/runs" - name: Download Signed AAB uses: actions/download-artifact@v3