]> git.ekhem.eu.org Git - turnup.git/commitdiff
Checkout repositories from branch main.
authorJakub Czajka <jakub@ekhem.eu.org>
Sat, 14 Oct 2023 22:52:13 +0000 (00:52 +0200)
committerJakub Czajka <jczajka@google.com>
Sun, 24 Dec 2023 18:46:45 +0000 (19:46 +0100)
password_store.yaml
server/websites.yaml
yt_dlp_server.yaml

index 89e396dcaab1b4c016e896d1ec47a0ace473afcb..c18ea6f1d8ee8eeada37f5fa86e001443bb48d75 100644 (file)
@@ -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 }}"
index b729da5f48b1f797ad607b1368a3671310784afa..52d6126e5803cb5ce83e8e7fb054aa7b0570d06d 100644 (file)
@@ -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
index b6fb08c989d216371841e408b3c58868458006bd..ea72847ae4338fccd5f6f19e385d93bd2dbbd930 100644 (file)
@@ -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