File tree Expand file tree Collapse file tree 1 file changed +1
-15
lines changed Expand file tree Collapse file tree 1 file changed +1
-15
lines changed Original file line number Diff line number Diff line change 1919concurrency : preview-${{github.ref}}
2020
2121jobs :
22- job-name :
23- permissions :
24- contents : write
2522 deploy-preview :
2623 runs-on : ubuntu-latest
2724 steps :
2825 - uses : actions/checkout@v4
2926 - uses : actions/setup-python@v5
3027 with :
31- python-version : " 3.12 "
28+ python-version : " 3.11 "
3229 - name : Build docs
3330 run : |
3431 pip install -e .[dev,docs]
3936 source-dir : docs/_build/html
4037 preview-branch : gh-pages
4138 custom-url : fortls.fortran-lang.org
42- - name : Setup Git
43- run : |
44- git config user.name "github-actions[bot]"
45- git config user.email "github-actions[bot]@users.noreply.github.com"
46- - name : Build and Deploy
47- run : |
48- # Commands to build and deploy documentation
49- git checkout -b gh-pages
50- git add -A
51- git commit -m "Deploy preview for PR ${GITHUB_REF##*/} 🛫"
52- git push --force origin gh-pages
You can’t perform that action at this time.
0 commit comments