Skip to content

Commit

Permalink
test new github action workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohammad-Dwairi committed Jul 3, 2024
1 parent 44e33ab commit 8af8f31
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/generate-docs-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,14 @@ jobs:
- name: remove old docs
run: rm -rf images older rapid-sdk script styles index.html navigation.html not-found-version.html version.json

- name: list content after removal
run: ls

- name: commit new docs
run: |
mv ${{ runner.temp }}/new-docs .
NEW_DOCS_VERSION=$(jq -r '.version' version.json)
echo "NEW_DOCS_VERSION=NEW_DOCS_VERSION" >> $GITHUB_ENV
mv ${{ runner.temp }}/new-docs .
git add .
git commit -m "chore: publishing docs for version $NEW_DOCS_VERSION"
Expand Down

0 comments on commit 8af8f31

Please sign in to comment.