From 1ba47a781d175f257ba037b9a7770ce5248f55ef Mon Sep 17 00:00:00 2001 From: Jakub Czajka Date: Sun, 11 Feb 2024 12:59:07 +0100 Subject: [PATCH] [website] Deploy views.sh. --- website.git/deploy.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/website.git/deploy.yaml b/website.git/deploy.yaml index fe15340..8275891 100644 --- a/website.git/deploy.yaml +++ b/website.git/deploy.yaml @@ -14,7 +14,14 @@ 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 -- 2.39.5