update docker docs

This commit is contained in:
lesion
2022-08-14 15:51:05 +02:00
parent 6612c95ee0
commit 2a1adcc956
2 changed files with 6 additions and 4 deletions

View File

@@ -55,5 +55,5 @@ You'll need to [setup nginx as a proxy]({% link install/nginx.md %}) then you ca
```bash ```bash
cd /opt/gancio # or where your installation is cd /opt/gancio # or where your installation is
docker-compose up -d --no-deps --build docker-compose pull && docker-compose restart
``` ```

View File

@@ -1,12 +1,14 @@
RELEASE=v$(cat package.json | jq ".version" | sed -e 's/"//g') RELEASE=v$(cat package.json | jq ".version" | sed -e 's/"//g')
echo "Releasing $RELEASE" echo "Releasing $RELEASE"
rm -fr node_modules
yarn
yarn build yarn build
yarn pack yarn pack
yarn publish # yarn publish
yarn doc gpg --pinentry-mode loopback --passphrase `pass underscore/pgp` --detach-sign --local-user 5DAC477D5441B7A15ACBF680BBEB4DD39AC6CCA9 gancio-$RELEASE.tgz
gpg --detach-sign --local-user 5DAC477D5441B7A15ACBF680BBEB4DD39AC6CCA9 gancio-$RELEASE.tgz
cp gancio-$RELEASE.tgz releases/ cp gancio-$RELEASE.tgz releases/
mv gancio-$RELEASE.tgz releases/latest.tgz mv gancio-$RELEASE.tgz releases/latest.tgz
cp gancio-$RELEASE.tgz.sig releases/ cp gancio-$RELEASE.tgz.sig releases/
mv gancio-$RELEASE.tgz.sig releases/latest.tgz.sig mv gancio-$RELEASE.tgz.sig releases/latest.tgz.sig
yarn doc
rsync -a docs/_site/ gancio.org:/var/www/gancio/ rsync -a docs/_site/ gancio.org:/var/www/gancio/