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 638b432 commit 84e6380
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/update-refs-in-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
git remote add skyflow-docs https://${TOKEN}@github.com/${REPO_OWNER}/${REPO_NAME}.git
git fetch skyflow-docs main
# BRANCH_NAME="feature-branch-${{ github.run_number }}"
BRANCH_NAME="feature-branch-${{ github.sha | slice(0, 7) }}"
BRANCH_NAME="feature-branch-${{ github.sha | rev | slice(0, 7) | rev }}"
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 84e6380

Please sign in to comment.