diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 075a5ea7ff00aac801003c008eadbba37cc9a3e7..c10700f6f69155c2e773872a01aaf89919caae6b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -229,7 +229,7 @@ pages: paths: - public only: - - develop@funkwhale/funkwhale + - master@funkwhale/funkwhale tags: - docker diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index f224819b479a87c1cbf23b72b1c136520d7bcb64..8c24faaf6a6f0b5591a604effc57caaa819a5341 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -31,7 +31,7 @@ Setup front-end only development environment 1. Clone the repository:: - git clone ssh://git@dev.funkwhale.audio:2222/funkwhale/funkwhale.git + git clone ssh://git@dev.funkwhale.audio/funkwhale/funkwhale.git cd funkwhale cd front diff --git a/changes/changelog.d/642.documentation b/changes/changelog.d/642.documentation new file mode 100644 index 0000000000000000000000000000000000000000..e93dca7b16650cb6b3e4717e1dc0bbbf642756a2 --- /dev/null +++ b/changes/changelog.d/642.documentation @@ -0,0 +1 @@ +Deploy documentation from the master branch instead of the develop branch to avoid inconsistencies (#642) diff --git a/docs/installation/debian.rst b/docs/installation/debian.rst index 3bdc000e41f66123ef311f4543b111452888b7f0..767af79b07e7b708333d02f0aaab5533edb7e222 100644 --- a/docs/installation/debian.rst +++ b/docs/installation/debian.rst @@ -114,9 +114,7 @@ Then we'll download the frontend files: cd /srv rm -r funkwhale - git clone -b master https://dev.funkwhale.audio/funkwhale/funkwhale funkwhale - cd funkwhale The above clone command uses the master branch instead of the default develop branch, as master is stable and more suited for production setups. @@ -212,7 +210,7 @@ Download the sample environment file: .. parsed-literal:: - curl -L -o config/.env "https://dev.funkwhale.audio/funkwhale/funkwhale/raw/develop/deploy/env.prod.sample" + curl -L -o config/.env "https://dev.funkwhale.audio/funkwhale/funkwhale/raw/master/deploy/env.prod.sample" # symlink it so it's sourced automatically by the API process # (This won't be needed anymore once release 0.18 is out) ln -s /srv/funkwhale/config/.env /srv/funkwhale/api/.env diff --git a/docs/installation/docker.rst b/docs/installation/docker.rst index 255d2d3225ddd8c201f5c0bdcc2fabd1b0c4d591..13403574dd8ca467571251e30b0148f74af93f68 100644 --- a/docs/installation/docker.rst +++ b/docs/installation/docker.rst @@ -12,9 +12,9 @@ Download the sample docker-compose file: mkdir /srv/funkwhale cd /srv/funkwhale mkdir nginx - curl -L -o nginx/funkwhale.template "https://dev.funkwhale.audio/funkwhale/funkwhale/raw/develop/deploy/docker.nginx.template" - curl -L -o nginx/funkwhale_proxy.conf "https://dev.funkwhale.audio/funkwhale/funkwhale/raw/develop/deploy/funkwhale_proxy.conf" - curl -L -o docker-compose.yml "https://dev.funkwhale.audio/funkwhale/funkwhale/raw/develop/deploy/docker-compose.yml" + curl -L -o nginx/funkwhale.template "https://dev.funkwhale.audio/funkwhale/funkwhale/raw/master/deploy/docker.nginx.template" + curl -L -o nginx/funkwhale_proxy.conf "https://dev.funkwhale.audio/funkwhale/funkwhale/raw/master/deploy/funkwhale_proxy.conf" + curl -L -o docker-compose.yml "https://dev.funkwhale.audio/funkwhale/funkwhale/raw/master/deploy/docker-compose.yml" At this point, the archticture of ``/srv/funkwhale`` should look like that: @@ -32,7 +32,7 @@ Create your env file: .. parsed-literal:: export FUNKWHALE_VERSION="|version|" - curl -L -o .env "https://dev.funkwhale.audio/funkwhale/funkwhale/raw/develop/deploy/env.prod.sample" + curl -L -o .env "https://dev.funkwhale.audio/funkwhale/funkwhale/raw/master/deploy/env.prod.sample" sed -i "s/FUNKWHALE_VERSION=latest/FUNKWHALE_VERSION=$FUNKWHALE_VERSION/" .env sudo nano .env diff --git a/docs/installation/index.rst b/docs/installation/index.rst index 7df753b91d1772db1af06c8e9088a94951c20d38..0d5412a200489728c28b78acf170d8a303cd2db2 100644 --- a/docs/installation/index.rst +++ b/docs/installation/index.rst @@ -148,8 +148,8 @@ On docker deployments, run the following commands: .. code:: shell # download the needed files - curl -L -o /etc/nginx/funkwhale_proxy.conf "https://dev.funkwhale.audio/funkwhale/funkwhale/raw/develop/deploy/funkwhale_proxy.conf" - curl -L -o /etc/nginx/sites-available/funkwhale.template "https://dev.funkwhale.audio/funkwhale/funkwhale/raw/develop/deploy/docker.proxy.template" + curl -L -o /etc/nginx/funkwhale_proxy.conf "https://dev.funkwhale.audio/funkwhale/funkwhale/raw/master/deploy/funkwhale_proxy.conf" + curl -L -o /etc/nginx/sites-available/funkwhale.template "https://dev.funkwhale.audio/funkwhale/funkwhale/raw/master/deploy/docker.proxy.template" # create a final nginx configuration using the template based on your environment set -a && source /srv/funkwhale/.env && set +a @@ -164,8 +164,8 @@ On non-docker deployments, run the following commands: .. code:: shell # download the needed files - curl -L -o /etc/nginx/funkwhale_proxy.conf "https://dev.funkwhale.audio/funkwhale/funkwhale/raw/develop/deploy/funkwhale_proxy.conf" - curl -L -o /etc/nginx/sites-available/funkwhale.template "https://dev.funkwhale.audio/funkwhale/funkwhale/raw/develop/deploy/nginx.template" + curl -L -o /etc/nginx/funkwhale_proxy.conf "https://dev.funkwhale.audio/funkwhale/funkwhale/raw/master/deploy/funkwhale_proxy.conf" + curl -L -o /etc/nginx/sites-available/funkwhale.template "https://dev.funkwhale.audio/funkwhale/funkwhale/raw/master/deploy/nginx.template" # create a final nginx configuration using the template based on your environment set -a && source /srv/funkwhale/config/.env && set +a