-
Notifications
You must be signed in to change notification settings - Fork 197
Closed
Description
I have an npm script like this in packages.json
:
"deploy": "gh-pages --branch master --dist dist --repo"
Then in my GitHub Actions build.yml
I have the following step:
- name: 'Deploy'
run: npm run deploy -- https://${{ secrets.GITHUB_TOKEN }}@github.com/foo/bar.github.io.git
shell: bash
Note that adding any arguments after npm run deploy --
get double quoted, so I moved --repo
into the packages.json
file.
However, this errors with:
> gh-pages --branch master --dist dist --repo "https://***@github.com/foo/bar.github.io.git"
*** Please tell me who you are.
Run
git config --global user.email "[email protected]"
git config --global user.name "Your Name"
to set your account's default identity.
Omit --global to set the identity only in this repository.
fatal: unable to auto-detect email address (got 'runneradmin@fv-az31.(none)')
mdornseif
Metadata
Metadata
Assignees
Labels
No labels