From fc30fbb3f50573787e780e68038d4c5fd5bf08e7 Mon Sep 17 00:00:00 2001 From: Amber Torrise Date: Thu, 30 Nov 2023 18:05:21 -0500 Subject: [PATCH] fixing paths in workflow Signed-off-by: Amber Torrise --- .github/workflows/sync-cli-readmes.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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