From d33da357335f2ba4dc7ac89e3de0479c458bf8bc Mon Sep 17 00:00:00 2001 From: Owen Voke Date: Fri, 8 Jan 2021 09:13:15 +0000 Subject: [PATCH] ci: update to use 'main' branch --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1774fefff..743d9f6c5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,20 +29,20 @@ jobs: run: bash scripts/build.sh - name: Setup Python for PDF generation - if: github.repository == 'tldr-pages/tldr' && github.ref == 'refs/heads/master' + if: github.repository == 'tldr-pages/tldr' && github.ref == 'refs/heads/main' uses: actions/setup-python@v2 with: python-version: '3.x' - name: Build PDF - if: github.repository == 'tldr-pages/tldr' && github.ref == 'refs/heads/master' + if: github.repository == 'tldr-pages/tldr' && github.ref == 'refs/heads/main' run: | cd scripts/pdf/ pip3 install -r requirements.txt python3 render.py ../../pages -c solarized-light - name: Deploy - if: github.repository == 'tldr-pages/tldr' && github.ref == 'refs/heads/master' + if: github.repository == 'tldr-pages/tldr' && github.ref == 'refs/heads/main' run: bash scripts/deploy.sh env: DEPLOY_KEY: ${{ secrets.DEPLOY_KEY }}