mirror of
https://github.com/jesseduffield/lazydocker.git
synced 2026-07-25 08:31:03 +00:00
checkout latest master before updating docs
This commit is contained in:
parent
54609a5d99
commit
42e029c45e
1 changed files with 6 additions and 5 deletions
|
|
@ -2,6 +2,12 @@
|
||||||
|
|
||||||
set -ex
|
set -ex
|
||||||
|
|
||||||
|
git config user.name "lazydocker bot"
|
||||||
|
git config user.email "jessedduffield@gmail.com"
|
||||||
|
|
||||||
|
git checkout master # just making sure we're up to date
|
||||||
|
git pull
|
||||||
|
|
||||||
# see if we have a new cheatsheet
|
# see if we have a new cheatsheet
|
||||||
# if other docs end up being generated automatically we can chuck in the relevant scripts here
|
# if other docs end up being generated automatically we can chuck in the relevant scripts here
|
||||||
go run scripts/generate_cheatsheet.go
|
go run scripts/generate_cheatsheet.go
|
||||||
|
|
@ -14,11 +20,6 @@ fi
|
||||||
|
|
||||||
echo "committing updated docs"
|
echo "committing updated docs"
|
||||||
|
|
||||||
git config user.name "lazydocker bot"
|
|
||||||
git config user.email "jessedduffield@gmail.com"
|
|
||||||
|
|
||||||
git checkout master # just making sure we're up to date
|
|
||||||
git pull
|
|
||||||
git add docs/*
|
git add docs/*
|
||||||
git commit -m "update docs"
|
git commit -m "update docs"
|
||||||
git push -u origin master
|
git push -u origin master
|
||||||
Loading…
Add table
Reference in a new issue