Parametrized deploy action (#1496)

Co-authored-by: squidfunk <martin.donath@squidfunk.com>
This commit is contained in:
Benjamin Staneck 2020-03-09 16:59:15 +01:00 committed by GitHub
parent 0c65773ec1
commit 968d0d80fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -87,7 +87,7 @@ jobs:
GH_NAME: ${{ secrets.GH_NAME }}
GH_EMAIL: ${{ secrets.GH_EMAIL }}
run: |
REMOTE="https://${GH_TOKEN}@github.com/squidfunk/mkdocs-material"
REMOTE="https://${GH_TOKEN}@github.com/${GITHUB_REPOSITORY}"
git config --global user.name "${GH_NAME}"
git config --global user.email "${GH_EMAIL}"
git remote set-url origin ${REMOTE}