Throwaway: run the publish script as a file (TirSystem/github-action issue 69)
Publish script trial / publish-wiki (push) Successful in 6s
Publish script trial / publish-wiki (push) Successful in 6s
This commit is contained in:
@@ -0,0 +1,28 @@
|
|||||||
|
name: Publish script trial
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ verify-publish-script ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
publish-wiki:
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Check out the repository
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Fetch the shared script
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
repository: TirSystem/github-action
|
||||||
|
ref: verify-publish-script
|
||||||
|
path: shared-scripts
|
||||||
|
|
||||||
|
- name: Publish the pages to the wiki
|
||||||
|
env:
|
||||||
|
GITEA_API_URL: ${{ gitea.api_url }}
|
||||||
|
SOURCE_REPOSITORY: ${{ gitea.repository }}
|
||||||
|
WIKI_CREDENTIALS: ${{ secrets.TOKEN_FOR_GITEA_WIKI }}
|
||||||
|
run: python3 shared-scripts/tools/publish_wiki.py
|
||||||
Reference in New Issue
Block a user