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 8af8f31 commit f4a7e10
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/generate-docs-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,14 +74,15 @@ jobs:
run: git checkout mdwairi/refactor-docs-versioning

- name: remove old docs
run: rm -rf images older rapid-sdk script styles index.html navigation.html not-found-version.html version.json
run: rm -rf images older rapid-sdk scripts code 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 .
mv ${{ runner.temp }}/new-docs/* .
ls
NEW_DOCS_VERSION=$(jq -r '.version' version.json)
echo "NEW_DOCS_VERSION=NEW_DOCS_VERSION" >> $GITHUB_ENV
git add .
Expand Down

0 comments on commit f4a7e10

Please sign in to comment.