1
1
mirror of https://github.com/srid/ema.git synced 2024-12-02 09:15:10 +03:00
ema/.github/workflows/publish.yaml
Sridhar Ratnakumar 5876e66ba8 Prepare to merge
2021-05-19 13:48:04 -04:00

22 lines
545 B
YAML

name: "Publish"
on:
# Run only when pushing to master branch
push:
branches:
- master
jobs:
neuron:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build emanote site 🔧
run: |
mkdir -p output
docker run -v $PWD:/data sridca/emanote emanote -C /data/docs gen /data/output
- name: Deploy to gh-pages 🚀
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./output/
cname: ema.srid.ca