diff --git a/scripts/push.bash b/scripts/push.bash index 956b85213..8019c08de 100755 --- a/scripts/push.bash +++ b/scripts/push.bash @@ -1,18 +1,18 @@ #!/bin/bash git clone https://github.com/unicef/publicgoods-website.git ../publicgoods-website && \ - git clone https://github.com/unicef/publicgoods-scripts.git ../publicgoods-scripts && \ + git clone https://github.com/unicef/publicgoods-scripts.git ../publicgoods-scripts && \ pushd ../publicgoods-scripts && \ - ./static.bash && \ - npm install && \ - node index.js && \ - node generate_nominees.js && \ - npm run build && \ - ./moveFiles.bash && \ + ./static.bash && \ + npm install && \ + node index.js && \ + node generate_nominees.js && \ + npm run build && \ + ./moveFiles.bash && \ popd && \ - git config --global user.email "lacabra@users.noreply.github.com" && \ - git config --global user.name "Victor Grau Serrat" && \ - pushd ../publicgoods-website && \ - git remote set-url origin https://${GITHUB_TOKEN}@github.com/unicef/publicgoods-website.git && \ - git add author blog category tag \ - git commit -am "BLD: $GITHUB_SHA" || true && \ - git push --set-upstream origin master + git config --global user.email "lacabra@users.noreply.github.com" && \ + git config --global user.name "Victor Grau Serrat" && \ + pushd ../publicgoods-website && \ + git remote set-url origin https://${GITHUB_TOKEN}@github.com/unicef/publicgoods-website.git && \ + git add author blog category tag && \ + git commit -am "BLD: $GITHUB_SHA" || true && \ + git push --set-upstream origin master