mirror of
https://github.com/flarum/framework.git
synced 2025-02-21 12:55:41 +08:00
git config before commit [skip ci]
This commit is contained in:
parent
c6ebef3631
commit
58b09bc7ef
@ -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…
x
Reference in New Issue
Block a user