Skip to content

Deploying to Production

Andreas Gohr edited this page Nov 22, 2023 · 2 revisions

The master branch is automatically deployed to the DokuWiki server.

Details can be seen in the deploy action.

Basically it will:

  • create a .env.local file with the appropriate secrets for running on production
  • install the composer dependencies (without dev dependencies)
  • build the JavaScript and CSS (removing dev dependencies afterwards)
  • create a backup of the database on the server in /var/www/translate/backup/
  • rsync the results to the server to /var/www/translate/application/
  • run database migrations and housekeeping on the server

All secrets are defined as repository secrets at Github.

Read more!

Process

Files

Maintenance/development

Documentation

Clone this wiki locally