diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f78cad6..7b81032 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -79,12 +79,16 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} run: | + cd app-release + rm -rf .git + git init git config --global user.email "binaskar@gmail.com" - git config --global user.name "Nomadics9" - git remote add new-origin https://github.com/nomadics9/alaskartv.git + git config --global user.name "nomadics9" + git remote add origin https://x-access-token:${GITHUB_TOKEN}@github.com/nomadics9/alaskartv.git git add . git commit -m "Update" - git push new-origin main + git branch -M main + git push origin main - name: Set up Java uses: actions/setup-java@v4