Skip to content

Commit

Permalink
Update update-refs-in-docs.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kamal-skyflow authored Dec 7, 2023
1 parent 77de2c1 commit 8a24126
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/update-refs-in-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@ jobs:
cd $GITHUB_WORKSPACE
git remote add skyflow-docs https://${TOKEN}@github.com/${REPO_OWNER}/${REPO_NAME}.git
git fetch skyflow-docs main
# BRANCH_NAME="SDK-${{ env.SHORT_SHA }}/react-native"
BRANCH_NAME="SDK-${{ "git rev-parse --short "$GITHUB_SHA"" }}/react-native"
BRANCH_NAME="SDK-${{ env.SHORT_SHA }}/react-native"
git remote set-url --push skyflow-docs https://${ACTOR}:${TOKEN}@github.com/${REPO_OWNER}/${REPO_NAME}.git
git checkout -b $BRANCH_NAME skyflow-docs/main
cp -r ../../refs/* src/pages/content/docs/sdks/skyflow-react-native/
Expand Down

0 comments on commit 8a24126

Please sign in to comment.