diff --git a/.github/workflows/sync-cli-readmes.yml b/.github/workflows/sync-cli-readmes.yml index 8083b6d348..11c71ea1dc 100644 --- a/.github/workflows/sync-cli-readmes.yml +++ b/.github/workflows/sync-cli-readmes.yml @@ -16,12 +16,12 @@ jobs: - name: Sync files run: | - cp zowe-cli/README.md zowe-cli/packages/cli/README.md + cp "${{ github.workspace }}/zowe-cli/README.md" "${{ github.workspace }}/zowe-cli/packages/cli/README.md" - name: Commit then Push Changes run: | git config --global user.name ${{ secrets.ZOWE_ROBOT_USER }} git config --global user.email ${{ secrets.ZOWE_ROBOT_EMAIL }} - git add "zowe-cli/README.md" "zowe-cli/packages/cli/README.md" + git add "${{ github.workspace }}/zowe-cli/packages/cli/README.md" git commit -m "Synching cli readmes" git push origin HEAD \ No newline at end of file