From dd62ca700742909d87cd5551fae5b1b7a7b340d8 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 4 Nov 2026 06:26:51 +0000 Subject: [PATCH 1/3] Update reviewdog/action-actionlint action to v1.81.1 --- .github/workflows/actionlint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/actionlint.yml b/.github/workflows/actionlint.yml index 04ccda9..15caef4 100644 --- a/.github/workflows/actionlint.yml +++ b/.github/workflows/actionlint.yml @@ -20,4 +20,4 @@ jobs: runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 - - uses: reviewdog/action-actionlint@v1.72.0 + - uses: reviewdog/action-actionlint@v1.81.1 From b0aacd5d7ce3ad3c5ec733a4212be05d0ffc911e Mon Sep 17 00:00:00 2001 From: Yegor Bugayenko Date: Fri, 6 Nov 2026 17:06:25 +0300 Subject: [PATCH 2/3] Use checkout v7 to satisfy the updated actionlint runtime check --- .github/workflows/actionlint.yml | 2 +- .github/workflows/bashate.yml | 2 +- .github/workflows/copyrights.yml | 2 +- .github/workflows/markdown-lint.yml | 2 +- .github/workflows/pdd.yml | 2 +- .github/workflows/rake.yml | 2 +- .github/workflows/reuse.yml | 2 +- .github/workflows/shellcheck.yml | 2 +- .github/workflows/typos.yml | 2 +- .github/workflows/xcop.yml | 2 +- .github/workflows/yamllint.yml | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/actionlint.yml b/.github/workflows/actionlint.yml index 15caef4..369326f 100644 --- a/.github/workflows/actionlint.yml +++ b/.github/workflows/actionlint.yml @@ -19,5 +19,5 @@ jobs: timeout-minutes: 15 runs-on: ubuntu-24.04 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - uses: reviewdog/action-actionlint@v1.81.1 diff --git a/.github/workflows/bashate.yml b/.github/workflows/bashate.yml index fa425ce..6416dfd 100644 --- a/.github/workflows/bashate.yml +++ b/.github/workflows/bashate.yml @@ -23,7 +23,7 @@ jobs: timeout-minutes: 15 runs-on: ubuntu-24.04 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - uses: actions/setup-python@v7 with: python-version: 3.15 diff --git a/.github/workflows/copyrights.yml b/.github/workflows/copyrights.yml index 67b0d82..eb8725e 100644 --- a/.github/workflows/copyrights.yml +++ b/.github/workflows/copyrights.yml @@ -15,5 +15,5 @@ jobs: timeout-minutes: 15 runs-on: ubuntu-24.04 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - uses: yegor256/copyrights-action@0.0.8 diff --git a/.github/workflows/markdown-lint.yml b/.github/workflows/markdown-lint.yml index c8e6689..3dcbb2d 100644 --- a/.github/workflows/markdown-lint.yml +++ b/.github/workflows/markdown-lint.yml @@ -21,5 +21,5 @@ jobs: timeout-minutes: 15 runs-on: ubuntu-24.04 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - uses: DavidAnson/markdownlint-cli2-action@v20.0.0 diff --git a/.github/workflows/pdd.yml b/.github/workflows/pdd.yml index 10a0e8d..bc48dc0 100644 --- a/.github/workflows/pdd.yml +++ b/.github/workflows/pdd.yml @@ -15,5 +15,5 @@ jobs: timeout-minutes: 15 runs-on: ubuntu-24.04 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - uses: volodya-lombrozo/pdd-action@master diff --git a/.github/workflows/rake.yml b/.github/workflows/rake.yml index d3efa76..f0778a4 100644 --- a/.github/workflows/rake.yml +++ b/.github/workflows/rake.yml @@ -18,7 +18,7 @@ jobs: ruby: [3.3] runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} diff --git a/.github/workflows/reuse.yml b/.github/workflows/reuse.yml index 5367570..d2e3567 100644 --- a/.github/workflows/reuse.yml +++ b/.github/workflows/reuse.yml @@ -15,5 +15,5 @@ jobs: timeout-minutes: 15 runs-on: ubuntu-24.04 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - uses: fsfe/reuse-action@v5 diff --git a/.github/workflows/shellcheck.yml b/.github/workflows/shellcheck.yml index dc971ec..9d05ecd 100644 --- a/.github/workflows/shellcheck.yml +++ b/.github/workflows/shellcheck.yml @@ -23,5 +23,5 @@ jobs: timeout-minutes: 15 runs-on: ubuntu-24.04 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - uses: ludeeus/action-shellcheck@master diff --git a/.github/workflows/typos.yml b/.github/workflows/typos.yml index 5dd96cb..1f36872 100644 --- a/.github/workflows/typos.yml +++ b/.github/workflows/typos.yml @@ -15,5 +15,5 @@ jobs: timeout-minutes: 15 runs-on: ubuntu-24.04 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - uses: crate-ci/typos@v1.52.0 diff --git a/.github/workflows/xcop.yml b/.github/workflows/xcop.yml index 21c8800..e1d7779 100644 --- a/.github/workflows/xcop.yml +++ b/.github/workflows/xcop.yml @@ -29,5 +29,5 @@ jobs: timeout-minutes: 15 runs-on: ubuntu-24.04 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - uses: g4s8/xcop-action@master diff --git a/.github/workflows/yamllint.yml b/.github/workflows/yamllint.yml index 14d4f13..08d2717 100644 --- a/.github/workflows/yamllint.yml +++ b/.github/workflows/yamllint.yml @@ -21,5 +21,5 @@ jobs: timeout-minutes: 15 runs-on: ubuntu-24.04 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - uses: ibiqlik/action-yamllint@v3 From 512e2cbc9ef81dbbdf0aa29d9e42eedca6eb3eb4 Mon Sep 17 00:00:00 2001 From: Yegor Bugayenko Date: Fri, 6 Nov 2026 17:06:36 +0300 Subject: [PATCH 3/3] Fix README markdown violations blocking the linter update (#92) --- README.md | 49 ++++++++++++++++++++++++++++--------------------- 1 file changed, 28 insertions(+), 21 deletions(-) diff --git a/README.md b/README.md index 95d0e1e..ca56bae 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,6 @@ - +# Jekyll GitHub Deploy + +![Jekyll GitHub Deploy logo](/logo.svg) [![DevOps By Rultor.com](https://www.rultor.com/b/yegor256/jekyll-github-deploy)](https://www.rultor.com/p/yegor256/jekyll-github-deploy) [![We recommend RubyMine](https://www.elegantobjects.org/rubymine.svg)](https://www.jetbrains.com/ruby/) @@ -8,8 +10,8 @@ [![Hits-of-Code](https://hitsofcode.com/github/yegor256/jekyll-github-deploy)](https://hitsofcode.com/view/github/yegor256/jekyll-github-deploy) [![License](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/yegor256/jekyll-github-deploy/blob/master/LICENSE.txt) -If you use some plugins with your [Jekyll](https://jekyllrb.com/) blog, chances are you can not -have your blog generated by [GitHub Pages](https://pages.github.com/). +If you use plugins with your [Jekyll](https://jekyllrb.com/) blog, +chances are you cannot have your blog generated by [GitHub Pages](https://pages.github.com/). First of all, because they [do not allow](https://help.github.com/en/articles/adding-jekyll-plugins-to-a-github-pages-site) custom plugins. This is where jekyll-github-deploy (a.k.a. jgd) comes in: it will @@ -23,27 +25,29 @@ It is assumed that your blog is in the home directory of your repo. Install it first: ```bash -$ gem install jgd +gem install jgd ``` Run it locally: ```bash -$ jgd +jgd ``` Now your site is deployed to `gh-pages` branch of your repo. Done. Below is a list of all command line options. -| Option | Description | -| -------- | ----------- | -| `-u` or `--url` | The GitHub URL. Defaults to th URL of your current project. | -| `-b` or `--branch` | The branch to push your site to. Defaults to `gh-pages`. If the branch does not exist, it will be created. | -| `-r` or `--branch-from` | The source branch. Defaults to `master`. | -| `-c` or `--config` | Name of the optional deploy config file. See [Production variables](#production-variables) below for more information. | -| `-d` or `--drafts` | Adds the `--drafts` option to Jekyll so that it will build draft posts. | -| `-h` or `--help` | Displays a list of all options. | +- `-u` or `--url`: The GitHub URL. Defaults to the URL of your current project. +- `-b` or `--branch`: The branch to push your site to. Defaults to `gh-pages`. + If the branch does not exist, it will be created. +- `-r` or `--branch-from`: The source branch. Defaults to `master`. +- `-c` or `--config`: Name of the optional deploy config file. + See [Production variables](#production-variables) below for more information. +- `-d` or `--drafts`: Adds the `--drafts` option to Jekyll to build draft posts. +- `-h` or `--help`: Displays a list of all options. + +## Production variables If you need to have different values for your deployed blog, just add a `_config-deploy.yml` file in your project's root and you're set. Values @@ -57,8 +61,9 @@ While `_config-deploy.yml` is the default, you may specify any config file by using the `--config` command line option. For example: + ```sh -$ jgd -c _config-deploy-develop.yml -r develop -b gh-pages-develop +jgd -c _config-deploy-develop.yml -r develop -b gh-pages-develop ``` ## Deploying with Travis @@ -80,14 +85,15 @@ script: jgd -u http://yegor256:$PASSWORD@github.com/yegor256/blog.git The environment variable `$PASSWORD` is set through `env/global/secure`, as explained -[here](http://docs.travis-ci.com/user/encryption-keys/). +in the [Travis encryption guide](http://docs.travis-ci.com/user/encryption-keys/). Don't forget to add `gem require 'jgd'` to your `Gemfile`. -You can use SSH key instead. First, you should [encrypt](https://docs.travis-ci.com/user/encrypting-files/) it: +You can use an SSH key instead. First, +[encrypt the key](https://docs.travis-ci.com/user/encrypting-files/): ```bash -$ travis encrypt-file id_rsa --add +travis encrypt-file id_rsa --add ``` Then, use the URI that starts with `git@`: @@ -116,12 +122,13 @@ and Then: ```bash -$ bundle update -$ bundle exec rake --quiet -$ ./tesh.sh +bundle update +bundle exec rake --quiet +./test.sh ``` -The build has to be clean. If it's not, [submit an issue](https://github.com/zold-io/out/issues). +The build has to be clean. If it is not, +[submit an issue](https://github.com/yegor256/jekyll-github-deploy/issues). Then, make your changes, make sure the build is still clean, and [submit a pull request](https://www.yegor256.com/2014/04/15/github-guidelines.html).