Skip to content

Commit

Permalink
Update cd_pipeline.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
arpita0911patel authored May 30, 2024
1 parent ae34153 commit 74d0f98
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/cd_pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ jobs:
git checkout -b deploy-branch-$VERSION
git add .
git commit -m "Deploy from CI workflow artifact"
git push --set-upstream origin deploy-branch-$VERSION
# - name: Create a new branch for the changes and push to new branch
# working-directory: gh-pages
Expand All @@ -98,12 +97,13 @@ jobs:
# git commit -m "Deploy from CI workflow artifact"


# - name: Push changes to new branch
# working-directory: gh-pages
# env:
# PERSONAL_ACCESS_TOKEN: ${{ secrets.SECRET_TO_PUSH_TO_CIROH_GITHUB_IO }}
# run: |
# git push --set-upstream origin deploy-branch-$VERSION
- name: Push changes to new branch
working-directory: gh-pages
env:
PERSONAL_ACCESS_TOKEN: ${{ secrets.SECRET_TO_PUSH_TO_CIROH_GITHUB_IO }}
run: |
git push --set-upstream https://ciroh-ua:${{ secrets.SECRET_TO_PUSH_TO_CIROH_GITHUB_IO }}@github.com/CIROH-UA/ciroh-ua.github.io.git deploy-branch-$VERSION
- name: Create Pull Request
uses: peter-evans/create-pull-request@v4
Expand Down

0 comments on commit 74d0f98

Please sign in to comment.