File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -29,20 +29,20 @@ jobs:
29
29
run : bash scripts/build.sh
30
30
31
31
- 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 '
33
33
uses : actions/setup-python@v2
34
34
with :
35
35
python-version : ' 3.x'
36
36
37
37
- 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 '
39
39
run : |
40
40
cd scripts/pdf/
41
41
pip3 install -r requirements.txt
42
42
python3 render.py ../../pages -c solarized-light
43
43
44
44
- 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 '
46
46
run : bash scripts/deploy.sh
47
47
env :
48
48
DEPLOY_KEY : ${{ secrets.DEPLOY_KEY }}
You can’t perform that action at this time.
0 commit comments