Browse Source

feat: REPO_NAME takes the tame from the repo where the action is run

Vaclav Elias 2 years ago
parent
commit
5d9d71047f
1 changed files with 2 additions and 2 deletions
  1. 2 2
      .github/workflows/stride-docs-wiki.yml

+ 2 - 2
.github/workflows/stride-docs-wiki.yml

@@ -20,6 +20,6 @@ jobs:
          GH_PAT: ${{ secrets.GH_PAT }}
          GH_PAT: ${{ secrets.GH_PAT }}
          ACTION_MAIL: [email protected]
          ACTION_MAIL: [email protected]
          ACTION_NAME: VaclavElias
          ACTION_NAME: VaclavElias
-         OWNER: stride3d
-         REPO_NAME: stride-docs
+         OWNER: ${{ github.repository_owner }}
+         REPO_NAME: ${{ github.event.repository.name }}
          MD_FOLDER: wiki
          MD_FOLDER: wiki