README: update readme for new way of running ruby #267
This file contains 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
--- | |
on: push | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.3 | |
bundler-cache: true | |
- name: install dependencies | |
run: | | |
sudo apt-get install \ | |
yui-compressor \ | |
librsvg2-bin \ | |
rsync | |
- name: build website | |
run: bundle exec jekyll build --future | |
- name: rsync deployments | |
uses: burnett01/[email protected] | |
with: | |
switches: -rv --delete | |
path: _site/ | |
remote_path: /var/wwwusers/www.xcsoar.org/public_html/ | |
remote_host: www.xcsoar.org | |
remote_user: website | |
remote_key: ${{ secrets.DEPLOY_KEY }} | |
if: github.ref == 'refs/heads/master' |