Skip to content

Commit

Permalink
updates deploy branch to main
Browse files Browse the repository at this point in the history
  • Loading branch information
pirupius committed Jan 10, 2024
1 parent 78441c5 commit b2dd3a9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/deploy_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ else
echo "--- ohri-docs folder not found, backup not performed ---"
fi

# Clone the repository with the reference branch named dev
git clone --branch dev https://github.com/UCSF-IGHS/ohri-docs.git
# Clone the repository
git clone https://github.com/UCSF-IGHS/ohri-docs.git

# Navigate into the cloned directory
echo "--- Navigate into the cloned directory ---"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/docs-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,16 +50,16 @@ jobs:
update_config:
runs-on: ubuntu-latest
needs: build
if: ${{ github.ref == 'refs/heads/dev' }}
if: ${{ github.ref == 'refs/heads/main' }}

steps:
- name: Checkout repo to make config folder local
uses: actions/checkout@v3
with:
ref: dev
ref: main
- run: ls -la .github/

- name: Copy Branch Dev Import Map to remote
- name: Copy Branch main Import Map to remote
uses: appleboy/[email protected]
with:
source: .github/deploy_docs.sh
Expand Down

0 comments on commit b2dd3a9

Please sign in to comment.