diff --git a/.circleci/config.yml b/.circleci/config.yml index 5c47c61..d03d9a3 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -17,9 +17,11 @@ jobs: - run: git checkout --orphan gh-pages - run: ls -A | grep -v ".git\|dist" | xargs rm -rf - run: cp -r dist/* . + - run: git config --global user.name "$GIT_CONFIG_NAME" + - run: git config --global user.email "$GIT_CONFIG_EMAIL" - run: git add . - run: git commit -m "[skip ci] Deploy $CIRCLE_TAG" - - run: git push -f https://marxjmoura:$GITHUB_TOKEN@github.com/storefront-community/menuboard.git HEAD:gh-pages + - run: git push -f https://$GITHUB_USER:$GITHUB_TOKEN@github.com/storefront-community/menuboard.git HEAD:gh-pages workflows: version: 2.1 build_and_deploy: