mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Add automatic deployment for dev and production environments
This commit is contained in:
parent
485b9513d7
commit
42af2a1af8
2 changed files with 41 additions and 0 deletions
11
deploy/deployme.sh
Executable file
11
deploy/deployme.sh
Executable file
|
@ -0,0 +1,11 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -eux
|
||||
|
||||
BASEDIR=$(dirname $(readlink -f "$0"))
|
||||
cd "$BASEDIR/.."
|
||||
echo "=> Deploying in $(pwd)"
|
||||
git fetch origin && git reset --hard origin/master
|
||||
( cd doc/ && make )
|
||||
( cd po/ && make && make install )
|
||||
alembic upgrade head
|
Loading…
Add table
Add a link
Reference in a new issue