mirror of
https://github.com/XcodesOrg/XcodesApp.git
synced 2026-03-25 08:55:46 +00:00
Bumps [actions/cache](https://github.com/actions/cache) from 3.2.4 to 3.2.5. - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](https://github.com/actions/cache/compare/v3.2.4...v3.2.5) --- updated-dependencies: - dependency-name: actions/cache dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
50 lines
1.3 KiB
YAML
50 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@v3
|
|
with:
|
|
# If you're using actions/checkout@v3 you must set persist-credentials to false in most cases for the deployment to work correctly.
|
|
persist-credentials: false
|
|
|
|
- name: Cache 📦
|
|
uses: actions/cache@v3.2.5
|
|
with:
|
|
path: AppCast/vendor/bundle
|
|
key: ${{ runner.os }}-gems-v1.0-${{ hashFiles('AppCast/Gemfile') }}
|
|
restore-keys: |
|
|
${{ runner.os }}-gems-
|
|
|
|
- name: Ruby ♦️
|
|
uses: actions/setup-ruby@v1.1.3
|
|
with:
|
|
ruby-version: '2.7'
|
|
|
|
- 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/v3
|
|
with:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
BRANCH: gh-pages
|
|
FOLDER: AppCast/_site
|