Skip to content

Commit c5e1f5a

Browse files
committed
fix site
1 parent cae078c commit c5e1f5a

1 file changed

Lines changed: 11 additions & 10 deletions

File tree

.github/workflows/jekyll.yml

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ on:
88

99
# Allows you to run this workflow manually from the Actions tab
1010
workflow_dispatch:
11-
permissions: {}
11+
12+
1213
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
1314
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
1415
concurrency:
@@ -19,6 +20,13 @@ jobs:
1920

2021
# Build job
2122
build:
23+
permissions:
24+
contents: read
25+
pages: write
26+
id-token: write
27+
environment:
28+
name: github-pages
29+
url: ${{ steps.deployment.outputs.page_url }}
2230
runs-on: ubuntu-latest
2331
env: # $BUNDLE_GEMFILE must be set at the job level, so it is set for all steps
2432
BUNDLE_GEMFILE: ${{ github.workspace }}/docs/Gemfile
@@ -48,14 +56,7 @@ jobs:
4856
with:
4957
path: docs/_site
5058

51-
# Deployment job
52-
deploy:
53-
environment:
54-
name: github-pages
55-
url: ${{ steps.deployment.outputs.page_url }}
56-
runs-on: ubuntu-latest
57-
needs: build
58-
steps:
5959
- name: Deploy to GitHub Pages
60+
if: github.repository_owner == 'captn3m0'
6061
id: deployment
61-
uses: actions/deploy-pages@cd2ce8fcbc39b97be8ca5fce6e763baed58fa128 # v5.0.0
62+
uses: actions/deploy-pages@cd2ce8fcbc39b97be8ca5fce6e763baed58fa128 # v5.0.0

0 commit comments

Comments
 (0)