mirror of
https://github.com/flarum/framework.git
synced 2025-01-19 18:12:59 +08:00
git config before commit [skip ci]
This commit is contained in:
parent
3f683dd6ee
commit
542e8715ea
|
@ -12,6 +12,9 @@ main() {
|
|||
esac
|
||||
done
|
||||
|
||||
git config user.name "flarum-bot"
|
||||
git config user.email "bot@flarum.org"
|
||||
|
||||
cd js
|
||||
npm i -g npm@6.1.0
|
||||
npm ci
|
||||
|
@ -23,9 +26,6 @@ main() {
|
|||
eval `ssh-agent -s`
|
||||
openssl aes-256-cbc -K $encrypted_key -iv $encrypted_iv -in ../.deploy.enc -d | ssh-add -
|
||||
|
||||
git config user.name "flarum-bot"
|
||||
git config user.email "bot@flarum.org"
|
||||
|
||||
git push git@github.com:$TRAVIS_REPO_SLUG.git $TRAVIS_BRANCH
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user