Create rust.yml

actions
Trivernis 3 years ago committed by GitHub
parent 9a9fd6d35c
commit 04d479a73c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1,29 @@
name: Rust
on:
push:
branches: [ main, develop, actions ]
pull_request:
branches: [ main, develop, actions ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Snekdown
run: cargo install snekdown --all-features
- name: Create dist
run: mkdir dist
- name: Build
run: snekdown render main.md dist/index.html
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
name: documentation.html
path: dist/index.html
Loading…
Cancel
Save