Skip to content

[pre-commit.ci] pre-commit autoupdate #166

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #166

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