diff options
Diffstat (limited to 'roles/prerec/templates')
-rwxr-xr-x | roles/prerec/templates/publish-backstage-index.sh | 3 | ||||
-rwxr-xr-x | roles/prerec/templates/update-task-status.sh | 2 | ||||
-rwxr-xr-x | roles/prerec/templates/upload.sh | 2 |
3 files changed, 5 insertions, 2 deletions
diff --git a/roles/prerec/templates/publish-backstage-index.sh b/roles/prerec/templates/publish-backstage-index.sh new file mode 100755 index 0000000..96b27e7 --- /dev/null +++ b/roles/prerec/templates/publish-backstage-index.sh @@ -0,0 +1,3 @@ +#!/bin/bash +# {{ ansible_managed }} +emacsclient -a emacs --eval "(emacsconf-publish-backstage-index)" diff --git a/roles/prerec/templates/update-task-status.sh b/roles/prerec/templates/update-task-status.sh index 18b7c1b..c9ac142 100755 --- a/roles/prerec/templates/update-task-status.sh +++ b/roles/prerec/templates/update-task-status.sh @@ -5,6 +5,6 @@ FROM_STATUS="$2" TO_STATUS="$3" cd ~/emacsconf-2022-private git pull -emacsclient --eval "(progn (emacsconf-update-talk-status \"$SLUG\" \"$FROM_STATUS\" \"$TO_STATUS\") (emacsconf-with-talk-heading \"$SLUG\" (emacsconf-cache-video-data (emacsconf-get-talk-info-for-subtree)) (save-buffer)))" +emacsclient -a emacs --eval "(progn (emacsconf-update-talk-status \"$SLUG\" \"$FROM_STATUS\" \"$TO_STATUS\") (emacsconf-with-talk-heading \"$SLUG\" (emacsconf-cache-video-data (emacsconf-get-talk-info-for-subtree)) (save-buffer)))" git commit -m "Update task status for $SLUG" conf.org git push diff --git a/roles/prerec/templates/upload.sh b/roles/prerec/templates/upload.sh index f723d29..f3dc9c5 100755 --- a/roles/prerec/templates/upload.sh +++ b/roles/prerec/templates/upload.sh @@ -2,5 +2,5 @@ # {{ ansible_managed }} scp $* orga@media.emacsconf.org:~/backstage -emacsclient --eval "(emacsconf-publish-backstage-index)" +/data/emacsconf/{{ emacsconf_year }}/scripts/publish-backstage-index.sh rsync -avze ssh orga@media.emacsconf.org:~/backstage/ /data/emacsconf/cache/ |