Update build.yml
This commit is contained in:
parent
cb9eb1f772
commit
259f0284f0
1 changed files with 2 additions and 2 deletions
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
|
@ -68,7 +68,7 @@ jobs:
|
||||||
git config --global user.name "$USERNAME"
|
git config --global user.name "$USERNAME"
|
||||||
git config --global user.email actions@github.com
|
git config --global user.email actions@github.com
|
||||||
|
|
||||||
git clone "https://$USERNAME:$API_TOKEN@github.com/$GH_REPO" upload
|
git clone "https://oauth2:$API_TOKEN@github.com/$GH_REPO" upload
|
||||||
cd upload
|
cd upload
|
||||||
shopt -s dotglob
|
shopt -s dotglob
|
||||||
rm -rf *
|
rm -rf *
|
||||||
|
@ -76,7 +76,7 @@ jobs:
|
||||||
|
|
||||||
git add -A
|
git add -A
|
||||||
git commit -m "Builds for https://github.com/$GITHUB_REPOSITORY/commit/$GITHUB_SHA"
|
git commit -m "Builds for https://github.com/$GITHUB_REPOSITORY/commit/$GITHUB_SHA"
|
||||||
git push --force https://$USERNAME:$API_TOKEN@github.com/$GH_REPO.git main
|
git push --force https://oauth2:$API_TOKEN@github.com/$GH_REPO.git main
|
||||||
env:
|
env:
|
||||||
API_TOKEN: ${{ secrets.BUILDS_TOKEN }}
|
API_TOKEN: ${{ secrets.BUILDS_TOKEN }}
|
||||||
GLOBIGNORE: .git:.gitignore:README.md:LICENSE
|
GLOBIGNORE: .git:.gitignore:README.md:LICENSE
|
||||||
|
|
Loading…
Reference in a new issue