From: Jakub Czajka Date: Sat, 14 Oct 2023 22:52:13 +0000 (+0200) Subject: Checkout repositories from branch main. X-Git-Url: https://git.ekhem.eu.org/?a=commitdiff_plain;h=804f17f0f706d6c0f0436b70b0fdccdd6d1f6f20;p=turnup.git Checkout repositories from branch main. --- diff --git a/password_store.yaml b/password_store.yaml index 89e396d..c18ea6f 100644 --- a/password_store.yaml +++ b/password_store.yaml @@ -17,6 +17,6 @@ become: true - name: Checkout files to the destination directory command: | - git --work-tree={{ dest }} --git-dir={{ item }} checkout master --force + git --work-tree={{ dest }} --git-dir={{ item }} checkout main --force become: yes with_items: "{{ repos }}" diff --git a/server/websites.yaml b/server/websites.yaml index b729da5..52d6126 100644 --- a/server/websites.yaml +++ b/server/websites.yaml @@ -3,7 +3,7 @@ - name: Checkout configuration files command: | - git --work-tree=/tmp --git-dir=/srv/git/server_prod.git checkout master \ + git --work-tree=/tmp --git-dir=/srv/git/server_prod.git checkout main \ --force become: yes - name: Ensure sites-available directory exists diff --git a/yt_dlp_server.yaml b/yt_dlp_server.yaml index b6fb08c..ea72847 100644 --- a/yt_dlp_server.yaml +++ b/yt_dlp_server.yaml @@ -30,7 +30,7 @@ become: yes - name: Checkout to the destination directory command: | - git --work-tree={{ dest }} --git-dir={{ item }} checkout master --force + git --work-tree={{ dest }} --git-dir={{ item }} checkout main --force become: yes with_items: "{{ repos }}" - name: Ensure correct ownership in the destination directory