1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-24 15:40:15 +01:00

Parametrize deploy action

This commit is contained in:
squidfunk 2020-03-09 16:54:26 +01:00
parent 0d79026c0c
commit c4b884545d

View File

@ -86,7 +86,7 @@ jobs:
GH_NAME: ${{ secrets.GH_NAME }} GH_NAME: ${{ secrets.GH_NAME }}
GH_EMAIL: ${{ secrets.GH_EMAIL }} GH_EMAIL: ${{ secrets.GH_EMAIL }}
run: | 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.name "${GH_NAME}"
git config --global user.email "${GH_EMAIL}" git config --global user.email "${GH_EMAIL}"
git remote set-url origin ${REMOTE} git remote set-url origin ${REMOTE}