Skip to content

Commit

Permalink
adds workflow for revised format
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Griffin <[email protected]>
  • Loading branch information
m00sey committed Oct 31, 2023
1 parent 5682411 commit a2af4f0
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/revised-format.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Build draft
on:
push:
branches:
- revised-format
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Set up Python 3.10.4
uses: actions/setup-python@v2
with:
python-version: 3.10.4

- name: Install dependencies
run: |
pip install -r requirements.txt
- name: Combine
run: |
rm -f docs/index.md
touch docs/index.md; cat 0*.md > docs/index.md
- name: Deploy
run: |
mkdocs gh-deploy
- name: pandoc
uses: MatthiasValvekens/pandoc-iso@master
with:
md-in: docs/index.md
docx-out: docs/index.docx

- name: Upload
uses: actions/upload-artifact@v3
with:
name: ${{ github.event.repository.name }}-iso-draft
path: docs/index.docx

0 comments on commit a2af4f0

Please sign in to comment.