Skip to content

Commit e3466ed

Browse files
author
Dionysios Grapsas
committed
restoring pre PR test fixes
1 parent 1c90b10 commit e3466ed

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

.github/workflows/docs_preview.yml

+1-15
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,13 @@ on:
1919
concurrency: preview-${{github.ref}}
2020

2121
jobs:
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]
@@ -39,14 +36,3 @@ jobs:
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

0 commit comments

Comments
 (0)