Skip to content

Commit

Permalink
make sure changed files are found
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-parkhill authored Oct 11, 2024
1 parent e50cae9 commit 01b3a38
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/docs-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,18 @@ jobs:
run: |
mkdir -p ../knowledge-base
- name: Copy files
run: |
# Specify the files or directories you want to copy
cp -r docs/* ../knowledge-base/
- name: Checkout destination repo
uses: actions/checkout@v2
with:
repository: docknetwork/knowledgebase-docs
token: ${{ secrets.KNOWLEDGEBASE_PR_TOKEN }}
path: knowledge-base

- name: Copy files
run: |
# Specify the files or directories you want to copy
cp -r docs/* ../knowledge-base/developer-documentation/wallet-sdk
- name: Get branch name
id: get_branch
run: echo "branch_name=${{ github.event.pull_request.head.ref }}" >> $GITHUB_ENV
Expand All @@ -46,7 +46,7 @@ jobs:
git config user.email "[email protected]"
# Get the commit message from the merged PR
commit_message="${{ github.event.pull_request.title }}"
git add .
git add -A .
git commit -m "Copy files from ${{ github.event.pull_request.head.repo.full_name }} branch $branch_name: $commit_message"
- name: Create Pull Request
Expand Down

0 comments on commit 01b3a38

Please sign in to comment.