From 804f17f0f706d6c0f0436b70b0fdccdd6d1f6f20 Mon Sep 17 00:00:00 2001 From: Jakub Czajka Date: Sun, 15 Oct 2023 00:52:13 +0200 Subject: [PATCH] Checkout repositories from branch main. --- password_store.yaml | 2 +- server/websites.yaml | 2 +- yt_dlp_server.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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 -- 2.39.5