Skip to content

Commit

Permalink
Use git switch instead of git checkout
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
  • Loading branch information
martin-g committed Aug 23, 2024
1 parent 96da095 commit 7c8f5ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ jobs:
touch .nojekyll
git add --all
git commit -m "Publish built website triggered by ${{ github.sha }}"
git checkout asf-site
git switch asf-site
git reset --hard asf-site-staging
git push origin asf-site --force

0 comments on commit 7c8f5ef

Please sign in to comment.