File tree Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Original file line number Diff line number Diff line change 1+ name : build
2+
3+ # https://docs.github.com/en/actions/managing-workflow-runs/manually-running-a-workflow
4+ on :
5+ workflow_dispatch :
6+ push :
7+ branches : ["ci"]
8+
9+ jobs :
10+ webpage :
11+ runs-on : ubuntu-20.04
12+ steps :
13+ - uses : actions/checkout@v2
14+
15+ - name : Checkout build sources
16+ uses : actions/checkout@v2
17+ with :
18+ repository : mpv-player/mpv.io
19+
20+ - name : Checkout build result repository
21+ uses : actions/checkout@v2
22+ with :
23+ repository : mpv-player/mpv-player.github.io
24+ ref : master
25+ path : build
26+ fetch-depth : 0
27+
28+ - name : Install OS dependencies
29+ run : |
30+ sudo apt-get update
31+ sudo apt-get install -y docutils-common
32+
33+ - name : Set up Ruby
34+ uses : ruby/setup-ruby@v1
35+ with :
36+ ruby-version : " 2.1"
37+ bundler-cache : true # runs 'bundle install' and caches installed gems automatically
38+
39+ - name : Build site and manual
40+ run : |
41+ rake travis
42+
43+ - name : Push results
44+ run : |
45+ pushd build
46+ git push origin master
47+ popd
You can’t perform that action at this time.
0 commit comments