diff --git a/docker-compose.yml b/docker-compose.yml index 16cb789..0608e29 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,6 +1,13 @@ version: '3' services: compile: &default + build: . + command: bundle exec nanoc compile + volumes: + - .:/usr/src/ros + + compilewatch: + <<: *default build: . command: bundle exec nanoc compile -W volumes: diff --git a/script/build b/script/build new file mode 100755 index 0000000..f406105 --- /dev/null +++ b/script/build @@ -0,0 +1,3 @@ +#!/usr/bin/env bash + +exec docker-compose run compile diff --git a/script/server b/script/server new file mode 100755 index 0000000..8a95ee6 --- /dev/null +++ b/script/server @@ -0,0 +1,3 @@ +#!/usr/bin/env bash + +exec docker-compose up diff --git a/upload.bash b/script/upload similarity index 77% rename from upload.bash rename to script/upload index 6465938..153e3b3 100755 --- a/upload.bash +++ b/script/upload @@ -1,4 +1,4 @@ #!/bin/bash -rsync -av --delete output/ ros1.osuosl.org:/var/www/beta.ros.org --exclude .well-known \ No newline at end of file +rsync -av --delete output/ ros1.osuosl.org:/var/www/beta.ros.org --exclude .well-known