|
1 | | -name: Build and Deploy to Github Pages |
| 1 | +# name: Build and Deploy to Github Pages |
2 | 2 |
|
3 | | -on: |
4 | | - schedule: |
5 | | - - cron: "0 0 1,15 * *" |
6 | | - push: |
7 | | - branches: |
8 | | - - master # Here source code branch is `master`, it could be other branch |
| 3 | +# on: |
| 4 | +# schedule: |
| 5 | +# - cron: "0 0 1,15 * *" |
| 6 | +# push: |
| 7 | +# branches: |
| 8 | +# - master # Here source code branch is `master`, it could be other branch |
9 | 9 |
|
10 | | -jobs: |
11 | | - build_and_deploy: |
12 | | - runs-on: ubuntu-latest |
13 | | - steps: |
14 | | - - uses: actions/checkout@v4 |
| 10 | +# jobs: |
| 11 | +# build_and_deploy: |
| 12 | +# runs-on: ubuntu-latest |
| 13 | +# steps: |
| 14 | +# - uses: actions/checkout@v4 |
15 | 15 |
|
16 | | - # Use GitHub Actions' cache to cache dependencies on servers |
17 | | - - uses: actions/cache@v4 |
18 | | - with: |
19 | | - path: vendor/bundle |
20 | | - key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }} |
21 | | - restore-keys: | |
22 | | - ${{ runner.os }}-gems- |
| 16 | +# # Use GitHub Actions' cache to cache dependencies on servers |
| 17 | +# - uses: actions/cache@v4 |
| 18 | +# with: |
| 19 | +# path: vendor/bundle |
| 20 | +# key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }} |
| 21 | +# restore-keys: | |
| 22 | +# ${{ runner.os }}-gems- |
23 | 23 |
|
24 | | - # Use GitHub Deploy Action to build and deploy to Github |
25 | | - - uses: jeffreytse/jekyll-deploy-action@v0.6.0 |
26 | | - with: |
27 | | - provider: 'github' |
28 | | - token: ${{ secrets.GITHUB_TOKEN }} # https://github.com/marketplace/actions/build-and-deploy-to-github-pages#secrets-used |
29 | | - repository: '' # Default is current repository |
30 | | - branch: 'gh-pages' # Default is gh-pages for github provider |
31 | | - jekyll_src: './' # Default is root directory |
32 | | - jekyll_cfg: '_config.yml' # Default is _config.yml |
33 | | - jekyll_baseurl: '' # Default is according to _config.yml |
34 | | - bundler_ver: '2.4.22' # Default is latest bundler version |
35 | | - ruby_ver: '' # Default is 3.2.0 version |
36 | | - cname: '' # Default is to not use a cname |
37 | | - actor: '' # Default is the GITHUB_ACTOR |
38 | | - pre_build_commands: './collect_packages.sh' # Installing additional dependencies (Arch Linux) |
| 24 | +# # Use GitHub Deploy Action to build and deploy to Github |
| 25 | +# - uses: jeffreytse/jekyll-deploy-action@v0.6.0 |
| 26 | +# with: |
| 27 | +# provider: 'github' |
| 28 | +# token: ${{ secrets.GITHUB_TOKEN }} # https://github.com/marketplace/actions/build-and-deploy-to-github-pages#secrets-used |
| 29 | +# repository: '' # Default is current repository |
| 30 | +# branch: 'gh-pages' # Default is gh-pages for github provider |
| 31 | +# jekyll_src: './' # Default is root directory |
| 32 | +# jekyll_cfg: '_config.yml' # Default is _config.yml |
| 33 | +# jekyll_baseurl: '' # Default is according to _config.yml |
| 34 | +# bundler_ver: '2.4.22' # Default is latest bundler version |
| 35 | +# ruby_ver: '' # Default is 3.2.0 version |
| 36 | +# cname: '' # Default is to not use a cname |
| 37 | +# actor: '' # Default is the GITHUB_ACTOR |
| 38 | +# pre_build_commands: './collect_packages.sh' # Installing additional dependencies (Arch Linux) |
0 commit comments