From 84ccb907a14bd8bd06afec7b5ac836fa7a0883f6 Mon Sep 17 00:00:00 2001 From: Sacha Chua Date: Sun, 16 Oct 2022 18:07:51 -0400 Subject: Try to separate wiki-publish and wiki-edit --- README.org | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'README.org') diff --git a/README.org b/README.org index 551496e..b94fc13 100644 --- a/README.org +++ b/README.org @@ -8,6 +8,12 @@ Docker: needs docker-vars.yml, see docker-vars.yml.sample * Wiki ** Ikiwiki +*** Prod + +When you update htmlscrubber.pm in wiki/templates: + +ansible-playbook -i inventory.yml prod-playbook.yml --tags wiki-plugins + *** Docker Creating: ansible-playbook -i docker-inventory.yml docker-playbook.yml --tags wiki @@ -19,7 +25,15 @@ http://localhost:28080/ ** Publishing *** Prod To run the playbook and publish the main schedule: -ansible-playbook -i inventory.yml prod-playbook.yml --tags publish + +#+begin_src sh +ansible-playbook -i inventory.yml prod-playbook.yml --tags wiki-publish --extra-vars='{"force_publish": true}' +#+end_src + +#+RESULTS: +:results: +:end: + Update a specific talk's before/nav and the main schedule: (ex: wayland) ansible-playbook playbook.yml -e '{"slug": "wayland"}' -i inventory.yml --tags publish -- cgit v1.2.3