]> git.armaanb.net Git - config.org.git/commitdiff
Restructure build system
authorArmaan Bhojwani <me@armaanb.net>
Tue, 13 Apr 2021 23:13:33 +0000 (19:13 -0400)
committerArmaan Bhojwani <me@armaanb.net>
Tue, 13 Apr 2021 23:13:33 +0000 (19:13 -0400)
.build.yml

index cf387f73ade8b9b8a01c5814b9838f109739678d..fb166578edbf19faad62a39e035038e5859b567c 100644 (file)
@@ -12,11 +12,9 @@ triggers:
     condition: failure
     to: me@armaanb.net
 tasks:
-  - get-emacs-config: |
+  - build: |
       cd armaanb.net
-      ./bin/emacs-get
-  - build-http: |
-      cd armaanb.net
-      hugo --minify
+      make emacs
   - deploy: |
-      rsync -azre 'ssh -o StrictHostKeyChecking=no -p 23' armaanb.net/public/config.html web@armaanb.net:/var/www/armaanb.net-http/config.html
+      cd armaanb.net
+      make deploy-emacs