Skip to content

Commit

Permalink
check for branch
Browse files Browse the repository at this point in the history
  • Loading branch information
kaylareopelle committed Jul 12, 2023
1 parent f5d4f8b commit 012927e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/config_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,14 @@ jobs:
uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # tag v3.5.0
with:
repository: ${{ env.DESTINATION_REPO }}
ref: ${{ env.BRANCH_NAME }}
token: ${{ secrets.KAYLA_CONFIG_DOCS }}
fetch-depth: 0

- name: Does branch exist?
run: |
git branch --list $BRANCH_NAME
env:
BRANCH_NAME: "${{ env.BRANCH_NAME }}"

- name: Test output
run: |
Expand Down

0 comments on commit 012927e

Please sign in to comment.