Skip to content

Experiencing "Invalid username or password" git error in workflow which deploys to a separate repository #1264

Answered by jjliggett
jjliggett asked this question in Q&A
Discussion options

You must be logged in to vote

From more troubleshooting, I have identified the issue. It was a syntax error within the GitHub workflow.

Previously:

      - name: Publish application to GitHub Pages
        uses: JamesIves/github-pages-deploy-action@ba1486788b0490a235422264426c45848eac35c6
        with:
          repository-name: jjliggett/CurrentTimeApp-dev-env
          token: "${{ secrets.DEV_PAT_TOKEN }}"
          branch: gh-pages
          folder: release/wwwroot
          git-config-name: jjliggett
          git-config-email: 67353173+jjliggett@users.noreply.github.com
          single-commit: true

I made the following pull request which removes the quotes around the token secret and the workflow is now succeeding:

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jjliggett
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant