diff options
author | Ven <vendicated@riseup.net> | 2022-12-22 17:25:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-22 17:25:57 +0100 |
commit | 6dd705f9512033d78445d76421d552bead2f2746 (patch) | |
tree | b3700809656310f9bbce03e22144b416312e3025 | |
parent | 259f0284f0c5442d3743614975f583aff80e1b80 (diff) | |
download | Vencord-6dd705f9512033d78445d76421d552bead2f2746.tar.gz Vencord-6dd705f9512033d78445d76421d552bead2f2746.tar.bz2 Vencord-6dd705f9512033d78445d76421d552bead2f2746.zip |
Update build.yml
-rw-r--r-- | .github/workflows/build.yml | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6341c48..5c9eafe 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -68,15 +68,14 @@ jobs: git config --global user.name "$USERNAME" git config --global user.email actions@github.com - git clone "https://oauth2:$API_TOKEN@github.com/$GH_REPO" upload + git clone https://$USERNAME:$API_TOKEN@github.com/$GH_REPO.git upload cd upload - shopt -s dotglob rm -rf * cp -r ../dist/* . git add -A git commit -m "Builds for https://github.com/$GITHUB_REPOSITORY/commit/$GITHUB_SHA" - git push --force https://oauth2:$API_TOKEN@github.com/$GH_REPO.git main + git push --force https://$USERNAME:$API_TOKEN@github.com/$GH_REPO.git env: API_TOKEN: ${{ secrets.BUILDS_TOKEN }} GLOBIGNORE: .git:.gitignore:README.md:LICENSE |