File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed
Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Deploy pages
2+ on :
3+ push :
4+ branches :
5+ - main
6+ jobs :
7+ deploy : # a free machine-readable name for this job
8+ runs-on : ubuntu-latest # specify the base operating system
9+ steps :
10+ - name : Checkout repo content # fetch the contents of the repository
11+ uses : actions/checkout@v2
12+ - name : Prepare build environment
13+ run : | # multiple Bash commands follow
14+ mkdir -p build
15+ touch build/.nojekyll
16+ - name : Run pandoc
17+ uses : docker://pandoc/core:2.12 # Always specify a version!
18+ with :
19+ args : >- # multi-line argument
20+ --standalone
21+ --output=build/index.html
22+ README.md
23+ - name : Deploy on github pages # Use a third-party plugin to upload the content
24+ uses : JamesIves/github-pages-deploy-action@4.1.0
25+ with :
26+ branch : gh-pages
27+ folder : build
You can’t perform that action at this time.
0 commit comments