Skip to content

Commit

Permalink
[#436] Fix invalid workflow bug for publish wiki workflow (#437)
Browse files Browse the repository at this point in the history
* [#436] Fix invalid workflow bug for publish wiki workflow

* [#436] Change implementation of github wiki publish workflow

* [#436] Add concurrency, remove env section from publish wiki template file

* [#436] Use action checkout v3 for publish wiki workflow
  • Loading branch information
mosharaf13 authored Jul 17, 2023
1 parent c21e356 commit 7f0418c
Showing 1 changed file with 22 additions and 9 deletions.
31 changes: 22 additions & 9 deletions .template/addons/github/.github/workflows/publish_wiki.yml.tt
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,30 @@ name: Publish Wiki

on:
push:
paths:
- .github/wiki/**
branches:
- develop
paths:
- .github/wiki/**

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
publish:
name: Publish Wiki
uses: nimblehq/github-actions-workflows/.github/workflows/[email protected]
with:
USER_NAME: github-wiki-workflow
USER_EMAIL: ${{ secrets.GH_EMAIL }}
secrets:
USER_TOKEN: ${{ secrets.GH_TOKEN }}
name: Publish Github Wiki
runs-on: ubuntu-latest
timeout-minutes: 1

steps:
- name: Checkout the repository
uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}

- name: Publish Github Wiki
uses: nimblehq/[email protected]
with:
user_name: github-wiki-workflow
user_email: [email protected]
user_access_token: ${{ secrets.USER_ACCESS_TOKEN }}

0 comments on commit 7f0418c

Please sign in to comment.