File tree 1 file changed +1
-15
lines changed
1 file changed +1
-15
lines changed Original file line number Diff line number Diff line change 19
19
concurrency : preview-${{github.ref}}
20
20
21
21
jobs :
22
- job-name :
23
- permissions :
24
- contents : write
25
22
deploy-preview :
26
23
runs-on : ubuntu-latest
27
24
steps :
28
25
- uses : actions/checkout@v4
29
26
- uses : actions/setup-python@v5
30
27
with :
31
- python-version : " 3.12 "
28
+ python-version : " 3.11 "
32
29
- name : Build docs
33
30
run : |
34
31
pip install -e .[dev,docs]
39
36
source-dir : docs/_build/html
40
37
preview-branch : gh-pages
41
38
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