]> git.ekhem.eu.org Git - metadata.git/commitdiff
[website] Deploy views.sh.
authorJakub Czajka <jakub@ekhem.eu.org>
Sun, 11 Feb 2024 11:59:07 +0000 (12:59 +0100)
committerJakub Czajka <jakub@ekhem.eu.org>
Sun, 11 Feb 2024 11:59:07 +0000 (12:59 +0100)
website.git/deploy.yaml

index fe1534002c4e64f0cb4b13bb40368fdd9fefd9ee..82758916b162cd29f020546617ab84448017f2a6 100644 (file)
       become: true
     - name: Checkout website files to the destination directory
       command: /usr/bin/git --work-tree={{ dest }} --git-dir={{ repo }} \
-        checkout main --force index.html media
+        checkout main --force index.html media views.sh
+      become: true
+    - name: Make views.sh executable
+      file:
+        path: "{{ dest }}/views.sh"
+        mode: 0744
+        owner: www-data
+        group: www-data
       become: true
 
     - name: Install nginx