diff --git a/docs/install/docker.md b/docs/install/docker.md index 02d80f91..ad02fd3e 100644 --- a/docs/install/docker.md +++ b/docs/install/docker.md @@ -55,5 +55,5 @@ You'll need to [setup nginx as a proxy]({% link install/nginx.md %}) then you ca ```bash cd /opt/gancio # or where your installation is -docker-compose up -d --no-deps --build +docker-compose pull && docker-compose restart ``` diff --git a/release.sh b/release.sh index 19d9db28..1b80fc02 100755 --- a/release.sh +++ b/release.sh @@ -1,12 +1,14 @@ RELEASE=v$(cat package.json | jq ".version" | sed -e 's/"//g') echo "Releasing $RELEASE" +rm -fr node_modules +yarn yarn build yarn pack -yarn publish -yarn doc -gpg --detach-sign --local-user 5DAC477D5441B7A15ACBF680BBEB4DD39AC6CCA9 gancio-$RELEASE.tgz +# yarn publish +gpg --pinentry-mode loopback --passphrase `pass underscore/pgp` --detach-sign --local-user 5DAC477D5441B7A15ACBF680BBEB4DD39AC6CCA9 gancio-$RELEASE.tgz cp gancio-$RELEASE.tgz releases/ mv gancio-$RELEASE.tgz releases/latest.tgz cp gancio-$RELEASE.tgz.sig releases/ mv gancio-$RELEASE.tgz.sig releases/latest.tgz.sig +yarn doc rsync -a docs/_site/ gancio.org:/var/www/gancio/ \ No newline at end of file