Skip to content

Commit

Permalink
Update action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoloboschi authored Dec 19, 2023
1 parent 5e3432a commit 0b691f5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/actions/deploy-api-reference/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ runs:
./scripts/generate-api-reference.sh "${{ inputs.ragstack-version }}"
mv dist/api_reference /tmp/api_reference
git checkout gh-pages
ls -la /tmp/api_reference/${{ inputs.ragstack-version }}/langchain
mkdir -p api_reference/${{ inputs.ragstack-version }}
mv /tmp/api_reference/${{ inputs.ragstack-version }}/langchain api_reference/${{ inputs.ragstack-version }}/langchain
if [ -z "$(git status --porcelain)" ]; then
echo "Git directory is clean, nothing changed"
Expand All @@ -30,4 +32,4 @@ runs:
git add -A
git commit -m "Update api reference"
git pull --rebase origin gh-pages
git push origin gh-pages
git push origin gh-pages

0 comments on commit 0b691f5

Please sign in to comment.