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