Skip to content

Commit b6b4154

Browse files
committed
fix deploy
1 parent bcf887f commit b6b4154

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

.github/workflows/build-jekyll.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,37 +5,28 @@ on:
55
branches: [ master ]
66

77
permissions:
8-
contents: write
8+
contents: read
99
pages: write
1010
id-token: write
1111

1212
jobs:
13-
build_and_deploy:
13+
build:
1414
runs-on: ubuntu-latest
15-
1615
steps:
17-
- name: Checkout
18-
uses: actions/checkout@v4
16+
- uses: actions/checkout@v4
1917

20-
# Python only if you need to run the glossary script
21-
- name: Set up Python
22-
uses: actions/setup-python@v5
18+
- uses: actions/setup-python@v5
2319
with:
2420
python-version: '3.12'
25-
2621
- name: Generate Glossary
2722
run: |
2823
python -m pip install --upgrade pip
29-
# pip install -r scripts/requirements.txt # if you have one
3024
python scripts/generate_glossary.py
3125
32-
# Use GitHub's official Pages build/deploy (fast, maintained)
33-
- name: Setup Ruby
34-
uses: ruby/setup-ruby@v1
26+
- uses: ruby/setup-ruby@v1
3527
with:
3628
ruby-version: '3.2'
3729
bundler-cache: true
38-
3930
- name: Build site with Jekyll
4031
run: |
4132
bundle install
@@ -46,5 +37,14 @@ jobs:
4637
with:
4738
path: _site
4839

40+
deploy:
41+
needs: build
42+
runs-on: ubuntu-latest
43+
# 👇 This is the bit your logs are asking for
44+
environment:
45+
name: github-pages
46+
url: ${{ steps.deployment.outputs.page_url }}
47+
steps:
4948
- name: Deploy to GitHub Pages
49+
id: deployment
5050
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)