File tree Expand file tree Collapse file tree 2 files changed +47
-34
lines changed
Expand file tree Collapse file tree 2 files changed +47
-34
lines changed Original file line number Diff line number Diff line change 1010 strategy :
1111 matrix :
1212 # whatever's not 'deprecated' on Spack
13- chapel-version : ['latest ', '2.5.0', '2.4.0']
13+ chapel-version : ['2.6.0 ', '2.5.0', '2.4.0']
1414 container :
1515 image : chapel/chapel:${{ matrix.chapel-version }}
1616 steps :
2727 id : code-check
2828 # TODO: remove --disable-rule after dropping chapel 2.4.0 support
2929 run : chplcheck --disable-rule CamelCaseFunctions $(find . -type f -iname "*.chpl")
30- - name : Building docs with chpldoc...
31- id : build-doc
32- run : mason doc
33- - name : Upload artifacts...
34- if : ${{ matrix.chapel-version == 'latest' }}
35- id : deployment
36- uses : actions/upload-pages-artifact@v4
37- with :
38- name : doc-latest
39- path : doc/
40- deploy :
41- if : github.ref == 'refs/heads/master'
42- needs : build-test
43-
44- # Grant GITHUB_TOKEN the permissions required to make a Pages deployment
45- permissions :
46- contents : read
47- pages : write # to deploy to Pages
48- id-token : write # to verify the deployment originates from an appropriate source
49-
50- # Deploy to the github-pages environment
51- environment :
52- name : github-pages
53- url : ${{ steps.deployment.outputs.page_url }}
54-
55- # Specify runner + deployment step
56- runs-on : ubuntu-latest
57- steps :
58- - name : Deploy to GitHub Pages
59- id : deployment
60- uses : actions/deploy-pages@v4
61- with :
62- artifact_name : doc-latest
Original file line number Diff line number Diff line change 1+ name : SciChap Deploy
2+ on :
3+ push :
4+ branches :
5+ - master
6+ release :
7+ jobs :
8+ build :
9+ runs-on : ubuntu-latest
10+ container :
11+ image : chapel/chapel:latest
12+ steps :
13+ - name : Checkout SciChap
14+ id : checkout
15+ uses : actions/checkout@v5
16+ - name : Building docs with chpldoc...
17+ id : build-doc
18+ run : mason doc
19+ - name : Upload artifacts...
20+ id : deployment
21+ uses : actions/upload-pages-artifact@v4
22+ with :
23+ name : doc-latest
24+ path : doc/
25+ deploy :
26+ needs : build
27+
28+ # Grant GITHUB_TOKEN the permissions required to make a Pages deployment
29+ permissions :
30+ contents : read
31+ pages : write # to deploy to Pages
32+ id-token : write # to verify the deployment originates from an appropriate source
33+
34+ # Deploy to the github-pages environment
35+ environment :
36+ name : github-pages
37+ url : ${{ steps.deployment.outputs.page_url }}
38+
39+ # Specify runner + deployment step
40+ runs-on : ubuntu-latest
41+ steps :
42+ - name : Deploy to GitHub Pages
43+ id : deployment
44+ uses : actions/deploy-pages@v4
45+ with :
46+ artifact_name : doc-latest
You can’t perform that action at this time.
0 commit comments