Skip to content

Commit

Permalink
Update CopyFIDOKey.yml only push when updated
Browse files Browse the repository at this point in the history
  • Loading branch information
DevClate authored Oct 13, 2024
1 parent 81a3ce3 commit dc498e0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/CopyFIDOKey.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ jobs:
git fetch origin gh-pages
git checkout gh-pages
# Copy the file from the main branch to the gh-pages branch
git checkout main -- EntraFIDOFinder/Assets/FidoKeys.json
mv EntraFidoFinder/Assets/FidoKeys.json Explorer/FidoKeys.json
git checkout main -- Assets/FidoKeys.json
mv Assets/FidoKeys.json Explorer/FidoKeys.json
# Commit and push the changes
git add EntraFIDOFinder/Explorer/FidoKeys.json
git add Explorer/FidoKeys.json
git commit -m "Update fidokeys.json from main branch"
git push origin gh-pages

0 comments on commit dc498e0

Please sign in to comment.