Skip to content

Commit

Permalink
[#495] Remove template workflows when using template
Browse files Browse the repository at this point in the history
  • Loading branch information
blyscuit committed Aug 30, 2023
1 parent c37bd72 commit c7866b2
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 0 deletions.
File renamed without changes.
File renamed without changes.
19 changes: 19 additions & 0 deletions .github/project_workflows/publish_docs_to_wiki.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Publish docs to Wiki

on:
push:
paths:
- .github/wiki/**
branches:
- main
- master

jobs:
publish_docs_to_wiki:
name: Publish Wiki
uses: nimblehq/github-actions-workflows/.github/workflows/[email protected]
with:
USER_NAME: team-nimblehq
USER_EMAIL: [email protected]
secrets:
USER_TOKEN: ${{ secrets.NIMBLE_DEV_TOKEN }}
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ struct SetUpCICDService {
print("Setting template for Github Actions")
fileManager.removeItems(in: "bitrise.yml")
fileManager.removeItems(in: "codemagic.yaml")
fileManager.removeItems(in: ".github/workflows")
fileManager.moveFiles(in: ".github/project_workflows", to: ".github/workflows")
case .bitrise:
print("Setting template for Bitrise")
fileManager.removeItems(in: "codemagic.yaml")
Expand Down

0 comments on commit c7866b2

Please sign in to comment.