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