44 push :
55 branches :
66 - main
7- # - staging
87 pull_request :
98 repository_dispatch :
109 workflow_dispatch :
@@ -22,50 +21,33 @@ concurrency:
2221 cancel-in-progress : false
2322
2423jobs :
25- # set_environment:
26- # outputs:
27- # my_env: ${{ steps.setenv.outputs.my_env }}
28- # my_url: ${{ steps.setenv.outputs.my_url }}
29- # runs-on: ubuntu-latest
30- # steps:
31- # - id: setenv
32- # run: |
33- # if [ "$GITHUB_REF" = "refs/heads/main" ]
34- # then
35- # echo "::set-output name=my_env::production"
36- # echo "::set-output name=my_url::https://www.tebako.org"
37- # elif [ "$GITHUB_REF" = "refs/heads/staging" ]
38- # then
39- # echo "::set-output name=my_env::staging"
40- # echo "::set-output name=my_url::https://staging-www.tebako.org"
41- # fi
4224
4325 build :
4426 runs-on : ubuntu-latest
45- # needs: [set_environment]
4627 steps :
4728 - name : Checkout
48- uses : actions/checkout@v3
29+ uses : actions/checkout@v4
4930
5031 - name : Setup Ruby
5132 uses : ruby/setup-ruby@v1
5233 with :
53- ruby-version : ' 3.1 '
34+ ruby-version : ' 3.3 '
5435 bundler-cache : true
55- cache-version : 0 # Increment this number if you need to re-download cached gems
36+
5637 - name : Setup Pages
5738 id : pages
58- uses : actions/configure-pages@v3
39+ uses : actions/configure-pages@v5
5940
6041 - name : Build with Jekyll
6142 # Outputs to the './_site' directory by default
62- run : make _site
43+ run : bundle exec jekyll build --verbose --trace --baseurl "${{ steps.pages.outputs.base_path }}"
6344 env :
6445 JEKYLL_ENV : production
46+ JEKYLL_LOG_LEVEL : debug
6547
6648 - name : Upload artifact
6749 # Automatically uploads an artifact from the './_site' directory by default
68- uses : actions/upload-pages-artifact@v2
50+ uses : actions/upload-pages-artifact@v4
6951
7052 # Deployment job
7153 deploy :
7860 steps :
7961 - name : Deploy to GitHub Pages
8062 id : deployment
81- uses : actions/deploy-pages@v2
63+ uses : actions/deploy-pages@v4
0 commit comments