Skip to content

website-deploy: update ruby to 3.1 #216

website-deploy: update ruby to 3.1

website-deploy: update ruby to 3.1 #216

---
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.1
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'