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 2, 2024
1 parent 8dbec7b commit 80c0dcf
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/generate-docs-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,18 +40,18 @@ jobs:
run: |
VERSION=$(jq -r '.version' version.json)
echo "VERSION=$VERSION" >> $GITHUB_ENV
mkdir -p $GITHUB_WORKSPACE/older/$VERSION
rsync -av --exclude='older' --exclude='.git' --exclude='README.md' --remove-source-files ./ $GITHUB_WORKSPACE/older/$VERSION/
rsync -av --exclude='older' --exclude='.git' --exclude='README.md' --remove-source-files ./ older/$VERSION/
find . -type d -empty -delete
git rm -r --cached "older"
- name: List older content before checkout
run: ls $GITHUB_WORKSPACE/older
- name: list older content before checkout
run: ls older

- name: Checkout to main
run: git checkout main

- name: List workspace content
run: ls $GITHUB_WORKSPACE/older
- name: list workspace content
run: ls older



Expand Down

0 comments on commit 80c0dcf

Please sign in to comment.