Skip to content

Commit d33da35

Browse files
owenvokesbrl
authored andcommitted
ci: update to use 'main' branch
1 parent 5ff5ff6 commit d33da35

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,20 +29,20 @@ jobs:
2929
run: bash scripts/build.sh
3030

3131
- name: Setup Python for PDF generation
32-
if: github.repository == 'tldr-pages/tldr' && github.ref == 'refs/heads/master'
32+
if: github.repository == 'tldr-pages/tldr' && github.ref == 'refs/heads/main'
3333
uses: actions/setup-python@v2
3434
with:
3535
python-version: '3.x'
3636

3737
- name: Build PDF
38-
if: github.repository == 'tldr-pages/tldr' && github.ref == 'refs/heads/master'
38+
if: github.repository == 'tldr-pages/tldr' && github.ref == 'refs/heads/main'
3939
run: |
4040
cd scripts/pdf/
4141
pip3 install -r requirements.txt
4242
python3 render.py ../../pages -c solarized-light
4343
4444
- name: Deploy
45-
if: github.repository == 'tldr-pages/tldr' && github.ref == 'refs/heads/master'
45+
if: github.repository == 'tldr-pages/tldr' && github.ref == 'refs/heads/main'
4646
run: bash scripts/deploy.sh
4747
env:
4848
DEPLOY_KEY: ${{ secrets.DEPLOY_KEY }}

0 commit comments

Comments
 (0)