mirror of
				https://github.com/PlaceholderAPI/PlaceholderAPI
				synced 2025-11-03 19:12:29 +01:00 
			
		
		
		
	Merge pull request #698 from PlaceholderAPI/feature/change-wiki-action
Switch to differen wiki action
This commit is contained in:
		
							
								
								
									
										28
									
								
								.github/workflows/wiki.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										28
									
								
								.github/workflows/wiki.yml
									
									
									
									
										vendored
									
									
								
							@@ -27,26 +27,10 @@ jobs:
 | 
			
		||||
      - name: 'Checkout Code'
 | 
			
		||||
        uses: actions/Checkout@v2
 | 
			
		||||
      - name: 'Update Wiki'
 | 
			
		||||
        uses: docker://decathlon/wiki-page-creator-action:latest
 | 
			
		||||
        uses: Andrew-Chen-Wang/github-wiki-action@v2
 | 
			
		||||
        env:
 | 
			
		||||
          #
 | 
			
		||||
          # We can use the E-Mail and Name of the GitHub Actions account
 | 
			
		||||
          # for our convenience.
 | 
			
		||||
          #
 | 
			
		||||
          ACTION_MAIL: 'actions@github.com'
 | 
			
		||||
          ACTION_NAME: 'github-actions[bot]'
 | 
			
		||||
          #
 | 
			
		||||
          # We (sadly) have to use a PAT (Personal Access Token) for this action.
 | 
			
		||||
          #
 | 
			
		||||
          GH_PAT: '${{ secrets.WORKFLOWPAT }}'
 | 
			
		||||
          OWNER: 'PlaceholderAPI'
 | 
			
		||||
          REPO_NAME: 'PlaceholderAPI'
 | 
			
		||||
          #
 | 
			
		||||
          # We only want to target files in the wiki folder
 | 
			
		||||
          #
 | 
			
		||||
          MD_FOLDER: 'wiki'
 | 
			
		||||
          WIKI_PUSH_MESSAGE: '${{ github.event.commits[0].message }}'
 | 
			
		||||
          #
 | 
			
		||||
          # We skip/ignore the README.md file in the Wiki folder
 | 
			
		||||
          #
 | 
			
		||||
          SKIP_MD: README.md
 | 
			
		||||
          WIKI_DIR: wiki/
 | 
			
		||||
          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
 | 
			
		||||
          GH_EMAIL: 'actions@github.com'
 | 
			
		||||
          GH_NAME: 'github-actions[bot]'
 | 
			
		||||
          EXCLUDED_FILES: 'README.md'
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user