mirror of
https://github.com/XcodesOrg/XcodesApp.git
synced 2026-02-02 11:33:02 +01:00
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.197.0 to 1.213.0. - [Release notes](https://github.com/ruby/setup-ruby/releases) - [Changelog](https://github.com/ruby/setup-ruby/blob/master/release.rb) - [Commits](https://github.com/ruby/setup-ruby/compare/v1.197.0...v1.213.0) --- updated-dependencies: - dependency-name: ruby/setup-ruby dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
51 lines
1.3 KiB
YAML
51 lines
1.3 KiB
YAML
name: Build and publish a new appcast file
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
release:
|
|
|
|
jobs:
|
|
jekyll:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout 🛎
|
|
uses: actions/checkout@v4
|
|
with:
|
|
# If you're using actions/checkout@v4 you must set persist-credentials to false in most cases for the deployment to work correctly.
|
|
persist-credentials: false
|
|
|
|
- name: Cache 📦
|
|
uses: actions/cache@v4.1.1
|
|
with:
|
|
path: AppCast/vendor/bundle
|
|
key: ${{ runner.os }}-gems-v1.0-${{ hashFiles('AppCast/Gemfile') }}
|
|
restore-keys: |
|
|
${{ runner.os }}-gems-
|
|
|
|
- name: Setup Ruby, JRuby and TruffleRuby
|
|
uses: ruby/setup-ruby@v1.213.0
|
|
with:
|
|
ruby-version: '3.0'
|
|
|
|
- name: Bundler 💎
|
|
working-directory: AppCast
|
|
env:
|
|
BUNDLE_PATH: vendor/bundle
|
|
run: |
|
|
gem install bundler
|
|
bundle install
|
|
|
|
- name: Build 🛠
|
|
working-directory: AppCast
|
|
env:
|
|
BUNDLE_PATH: vendor/bundle
|
|
JEKYLL_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
run: bundle exec jekyll build
|
|
|
|
- name: Publish 🚀
|
|
uses: JamesIves/github-pages-deploy-action@releases/v4
|
|
with:
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
branch: gh-pages
|
|
folder: AppCast/_site
|