feat(video): Boost ZFS Performance with a Special VDEV in TrueNAS #981
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'Build & Release' | |
on: | |
push: | |
branches: | |
- master | |
paths-ignore: | |
- .gitignore | |
- README.md | |
- LICENSE | |
jobs: | |
build-release: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # 3.2.2 | |
with: | |
fetch-depth: 0 # for posts's lastmod | |
- name: Setup Ruby | |
uses: ruby/setup-ruby@2654679fe7f7c29875c669398a8ec0791b8a64a1 # 1.215.0 | |
with: | |
ruby-version: 3.2.2 | |
bundler-cache: true | |
- name: Check baseurl | |
run: | | |
baseurl="$(grep '^baseurl:' _config.yml | sed "s/.*: *//;s/['\"]//g;s/#.*//")" | |
if [[ -n $baseurl ]]; then | |
echo "BASE_URL=$baseurl" >> $GITHUB_ENV | |
fi | |
- name: Deploy | |
run: bash tools/release.sh |