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 969eeec commit ae34153
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions .github/workflows/cd_pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,13 @@ jobs:

name: Deploy to GitHub Pages
steps:
# - name: Checkout
# uses: actions/checkout@v3
# with:
# fetch-depth: 0
# # Ensure detached HEAD state to avoid conflicts with the main branch
# ref: refs/heads/main
- name: Checkout Repo B
uses: actions/checkout@v2
- name: Checkout
uses: actions/checkout@v3
with:
repository: CIROH-UA/ciroh-ua.github.io # Replace with the owner and name of Repo B
token: ${{ secrets.SECRET_TO_PUSH_TO_CIROH_GITHUB_IO }} # If Repo B is private, provide a personal access token with appropriate permissions

fetch-depth: 0
# Ensure detached HEAD state to avoid conflicts with the main branch
ref: refs/heads/main

- name: Download a Build Artifact Version
uses: dawidd6/[email protected]
with:
Expand Down

0 comments on commit ae34153

Please sign in to comment.