Skip to content

Commit

Permalink
Fix remote name
Browse files Browse the repository at this point in the history
  • Loading branch information
zstg authored Aug 11, 2024
1 parent 7aa0696 commit 9e2ca09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ initialize_and_push() {
sudo git add .
sudo git commit -am "Update packages"
sudo git pull
sudo git push "https://x-access-token:${GITHUB_TOKEN}@github.com/${{ github.repository }}" --force
sudo git push "https://x-access-token:${GITHUB_TOKEN}@github.com/${git config --get remote.origin.url | sed -E 's/.*[:/]([^:/]+)\/(.+)\.git/\1\/\2/'}" --force
}

# Main function
Expand Down

0 comments on commit 9e2ca09

Please sign in to comment.