Browse Source

feat: GitHub action for wiki updated

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

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

@@ -2,14 +2,14 @@ name: Publish to GitHub Wiki
 on:
 on:
   push:
   push:
     branches:
     branches:
-      - main
+      - staging
     paths:
     paths:
       - wiki/**
       - wiki/**
   workflow_dispatch:
   workflow_dispatch:
 
 
 jobs:
 jobs:
   build:
   build:
-    # if: github.repository == 'stride3d/stride-docs'
+    if: github.repository == 'stride3d/stride-docs'
     runs-on: ubuntu-latest
     runs-on: ubuntu-latest
 
 
     steps:
     steps:
@@ -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: VaclavElias
-         REPO_NAME: stride-docs-next
-         MD_FOLDER: wiki
+         OWNER: stride3d
+         REPO_NAME: stride-docs
+         MD_FOLDER: wiki