Skip to content

Commit

Permalink
github workflow updated (#223)
Browse files Browse the repository at this point in the history
* github workflow updated

* manifest updated

* release workflow removed
  • Loading branch information
sukuna28 authored May 15, 2024
1 parent 9128c71 commit 681ea80
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 73 deletions.
49 changes: 0 additions & 49 deletions .github/workflows/docs.yml

This file was deleted.

33 changes: 9 additions & 24 deletions .github/workflows/sync-docs-to-docs-hub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,27 +9,12 @@ on:

jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Extract branch name
shell: bash
run: echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT
id: extract_branch

- name: Push to zelthy3-docs-hub repository
uses: cpina/github-action-push-to-another-repository@main
env:
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
source-directory: "docs"
target-directory: "all_docs/zelthy3"
destination-github-username: "Healthlane-Technologies"
destination-repository-name: "zelthy3-docs-hub"
commit-message: "Sync Zelthy3 docs"
user-email: [email protected]
target-branch: staging

uses: Healthlane-Technologies/zelthy-ci-cd-workflows/.github/workflows/sync-docs-to-docs-hub.yml@v5
with:
source-directory: "docs"
target-directory: "all_docs/zelthy3"
destination-github-username: "Healthlane-Technologies"
destination-repository-name: "zelthy3-docs-hub"
commit-message: "Sync zcore package docs"
target-branch: staging
secrets: inherit

0 comments on commit 681ea80

Please sign in to comment.