Skip to content

Commit ed21a99

Browse files
author
Dionysios Grapsas
committed
deploy preview
1 parent c01d78e commit ed21a99

File tree

1 file changed

+14
-11
lines changed

1 file changed

+14
-11
lines changed

.github/workflows/docs_preview.yml

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ on:
1919
concurrency: preview-${{github.ref}}
2020

2121
jobs:
22+
job-name:
23+
permissions:
24+
contents: write
2225
deploy-preview:
2326
runs-on: ubuntu-latest
2427
steps:
@@ -36,14 +39,14 @@ jobs:
3639
source-dir: docs/_build/html
3740
preview-branch: gh-pages
3841
custom-url: fortls.fortran-lang.org
39-
- name: Setup Git
40-
run: |
41-
git config user.name "github-actions[bot]"
42-
git config user.email "github-actions[bot]@users.noreply.github.com"
43-
- name: Build and Deploy
44-
run: |
45-
# Commands to build and deploy documentation
46-
git checkout -b gh-pages
47-
git add -A
48-
git commit -m "Deploy preview for PR ${GITHUB_REF##*/} 🛫"
49-
git push --force origin gh-pages
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)