From 1b016c8bf4fa0e5202a7fce1ab91a7ec3e300583 Mon Sep 17 00:00:00 2001 From: Arpita Patel Date: Wed, 29 May 2024 22:05:00 -0500 Subject: [PATCH] Update cd_pipeline.yml --- .github/workflows/cd_pipeline.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cd_pipeline.yml b/.github/workflows/cd_pipeline.yml index 5ddd0e7..89b2722 100644 --- a/.github/workflows/cd_pipeline.yml +++ b/.github/workflows/cd_pipeline.yml @@ -86,14 +86,14 @@ jobs: git clone --single-branch --branch main https://ciroh-ua:${{ secrets.SECRET_TO_PUSH_TO_CIROH_GITHUB_IO }}@github.com/CIROH-UA/ciroh-ua.github.io.git gh-pages rsync -av --delete-after ./build/ gh-pages/ # Copy the contents of the build directory - name: Create a new branch for the changes - working-directory: repo + working-directory: gh-pages run: | git checkout -b deploy-branch-$VERSION git add . git commit -m "Deploy from CI workflow artifact" - name: Push changes to new branch - working-directory: repo + working-directory: gh-pages env: PERSONAL_ACCESS_TOKEN: ${{ secrets.SECRET_TO_PUSH_TO_CIROH_GITHUB_IO }} run: |