-
Notifications
You must be signed in to change notification settings - Fork 21
build #1152
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
# https://docs.github.com/en/actions/managing-workflow-runs/manually-running-a-workflow
on:
workflow_dispatch:
push:
branches: ["ci"]
jobs:
webpage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Checkout build sources
uses: actions/checkout@v4
with:
repository: mpv-player/mpv.io
- name: Checkout build result repository
uses: actions/checkout@v4
with:
repository: mpv-player/mpv-player.github.io
ref: master
path: build
fetch-depth: 0
- name: Install OS dependencies
run: |
sudo apt-get update
sudo apt-get install -y docutils-common
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Build site and manual
run: |
rake travis
- name: Push results
run: |
pushd build
git push origin master
popd