diff --git a/.github/workflows/generate-lockfile.yml b/.github/workflows/generate-lockfile.yml new file mode 100644 index 0000000..7ec7eed --- /dev/null +++ b/.github/workflows/generate-lockfile.yml @@ -0,0 +1,42 @@ +name: Generate Gemfile.lock + +on: + push: + paths: + - Gemfile + +jobs: + generate-lockfile: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v3 + + - name: Setup Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: '3.0' + bundler-cache: true + + - name: Debug bundler environment + run: | + ruby -v + bundler -v + gem env + gem list + + - name: Install dependencies + run: bundle install --jobs 4 --retry 3 + env: + BUNDLE_PATH: vendor/bundle + + - name: Commit and push Gemfile.lock + run: | + git config --global user.name "github-actions[bot]" + git config --global user.email "github-actions[bot]@users.noreply.github.com" + git add Gemfile.lock + git commit -m "Add Gemfile.lock (generated by GitHub Actions)" + git push + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/Gemfile b/Gemfile new file mode 100644 index 0000000..8635572 --- /dev/null +++ b/Gemfile @@ -0,0 +1,5 @@ +source "https://rubygems.org" + +gem "jekyll", "3.9.2" +gem "minimal-mistakes-jekyll" +gem "github-pages", "~> 227", group: :jekyll_plugins diff --git a/_config.yml b/_config.yml index 96670bb..1bd4782 100755 --- a/_config.yml +++ b/_config.yml @@ -10,7 +10,7 @@ # Review documentation to determine if you should use `theme` or `remote_theme` # https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/#installing-the-theme -# theme : "minimal-mistakes-jekyll" +theme : "minimal-mistakes-jekyll" # remote_theme : "mmistakes/minimal-mistakes" minimal_mistakes_skin : "default" # "air", "aqua", "contrast", "dark", "dirt", "neon", "mint", "plum", "sunrise" @@ -235,6 +235,7 @@ plugins: - jekyll-sitemap - jekyll-gist - jekyll-feed + - jekyll-seo-tag - jekyll-include-cache # mimic GitHub Pages with --safe