File tree Expand file tree Collapse file tree 1 file changed +25
-2
lines changed
Expand file tree Collapse file tree 1 file changed +25
-2
lines changed Original file line number Diff line number Diff line change 44 branches :
55 - main
66
7+ # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
8+ permissions :
9+ contents : read
10+ pages : write
11+ id-token : write
12+
13+ # Allow only one concurrent deployment
14+ concurrency :
15+ group : " pages"
16+ cancel-in-progress : true
17+
718jobs :
819 build :
920 runs-on : ubuntu-latest
@@ -21,10 +32,22 @@ jobs:
2132 run : cd docs && bundle install
2233
2334 - name : Build site
24- run : cd docs && bundle exec jekyll build --source docs --destination _site
35+ run : cd docs && bundle exec jekyll build --destination _site
36+ # Removed the --source docs part since you're already in the docs directory
2537
26- - name : Deploy to GitHub Pages
38+ - name : Upload artifact
2739 uses : actions/upload-pages-artifact@v3
2840 with :
2941 path : docs/_site
3042
43+ # Deployment job
44+ deploy :
45+ environment :
46+ name : github-pages
47+ url : ${{ steps.deployment.outputs.page_url }}
48+ runs-on : ubuntu-latest
49+ needs : build
50+ steps :
51+ - name : Deploy to GitHub Pages
52+ id : deployment
53+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments