From 259f0284f0c5442d3743614975f583aff80e1b80 Mon Sep 17 00:00:00 2001 From: Ven Date: Wed, 21 Dec 2022 22:43:54 +0100 Subject: Update build.yml --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.github') diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 70f50a9..6341c48 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -68,7 +68,7 @@ jobs: git config --global user.name "$USERNAME" 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 shopt -s dotglob rm -rf * @@ -76,7 +76,7 @@ jobs: git add -A 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: API_TOKEN: ${{ secrets.BUILDS_TOKEN }} GLOBIGNORE: .git:.gitignore:README.md:LICENSE -- cgit