File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed
Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change 1+ # This is a basic workflow to help you get started with Actions
2+
3+ name : Auto-publish website
4+
5+ # Controls when the workflow will run
6+ on :
7+ schedule :
8+ - cron : " 0 2 * * 1-6"
9+ # Allows you to run this workflow manually from the Actions tab
10+ workflow_dispatch :
11+
12+ # A workflow run is made up of one or more jobs that can run sequentially or in parallel
13+ jobs :
14+ # This workflow contains a single job called "build"
15+ build :
16+ # The type of runner that the job will run on
17+ runs-on : ubuntu-latest
18+
19+ # Steps represent a sequence of tasks that will be executed as part of the job
20+ steps :
21+ # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
22+ - uses : actions/checkout@v2
23+
24+ - name : Install dependencies
25+ run : composer install --prefer-dist --no-progress
26+
27+ - name : Build docs
28+ run : ./vendor/bin/robo build:docs
29+
30+ - name : Publish docs
31+ run : ./vendor/bin/robo publish
32+
You can’t perform that action at this time.
0 commit comments