From 4bdbf6352dfa5aeb61cd0467fd4de6a302790bf7 Mon Sep 17 00:00:00 2001
From: Arthur Sonzogni <sonzogniarthur@gmail.com>
Date: Sun, 9 Apr 2023 11:40:54 +0200
Subject: [PATCH] Update workflow to main branch. (#614)

This fixes:
https://github.com/ArthurSonzogni/FTXUI/issues/599
---
 .github/workflows/build.yaml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index ce7a3907..c63a94a1 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -6,10 +6,10 @@ on:
       -v*
   push:
     branches:
-      - master
+      - main
   pull_request:
     branches:
-      - master
+      - main
 
 jobs:
   test:
@@ -169,7 +169,7 @@ jobs:
           overwrite: true
   
   documentation:
-    if: github.ref == 'refs/heads/master'
+    if: github.ref == 'refs/heads/main'
     runs-on: ubuntu-latest
     steps:
       - name: "Checkout repository"
-- 
GitLab