File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55 branches :
66 - main
77
8+ permissions :
9+ contents : read
10+ pages : write
11+ id-token : write
12+
813concurrency :
9- group : " website_deployment"
14+ group : " pages"
15+ cancel-in-progress : false
1016
1117jobs :
1218 deploy :
1319 runs-on : ubuntu-latest
20+ environment :
21+ name : github-pages
22+ url : ${{ steps.deployment.outputs.page_url }}
1423 env :
1524 JBAKE_VERSION : " 2.6.7"
1625 JBAKE_SHA1 : " fd07b833104f2889fde9a07d0c0bf09f0fdecbf6"
1726 ACTIONS_CACHE_VERSION : 1
1827 steps :
19- - uses : actions/checkout@v2
28+ - uses : actions/checkout@v4
2029 - name : JBake Cache
21- uses : actions/cache@v2
30+ uses : actions/cache@v4
2231 with :
2332 path : |
2433 downloads/*.zip
2534 key : ${{ env.ACTIONS_CACHE_VERSION }}-${{ runner.os }}-${{ env.JBAKE_VERSION }}
26- - uses : actions/setup-java@v2
35+ - uses : actions/setup-java@v4
2736 with :
28- distribution : ' adopt '
37+ distribution : ' temurin '
2938 java-version : ' 11'
3039 - name : Install jbake
3140 run : |
@@ -39,12 +48,14 @@ jobs:
3948 unzip "jbake-${JBAKE_VERSION}-bin.zip"
4049 mv "jbake-${JBAKE_VERSION}-bin" jbake
4150 echo "$PWD/jbake/bin" >> $GITHUB_PATH
42- - name : Configure AWS Credentials
43- uses : aws-actions/configure-aws-credentials@v1
51+ - name : Build site
52+ run : ./script/build.sh
53+ - name : Setup Pages
54+ uses : actions/configure-pages@v5
55+ - name : Upload artifact
56+ uses : actions/upload-pages-artifact@v3
4457 with :
45- aws-access-key-id : ${{ secrets.AWS_ACCESS_KEY_ID }}
46- aws-secret-access-key : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
47- aws-region : us-west-2
48- - run : ./script/deploy.sh
49- env :
50- AWS_BUCKET : typedclojure.org
58+ path : output
59+ - name : Deploy to GitHub Pages
60+ id : deployment
61+ uses : actions/deploy-pages@v4
Original file line number Diff line number Diff line change 22
33Source for https://typedclojure.org/
44
5- Currently deployed via AWS S3 .
5+ Currently deployed via GitHub Pages .
66
77Build requires jbake:
88
Original file line number Diff line number Diff line change 1+ typedclojure.org
You can’t perform that action at this time.
0 commit comments