From a2af4f0976f8ca7b045deb6ba49d75c9994611e2 Mon Sep 17 00:00:00 2001 From: Kevin Griffin Date: Tue, 31 Oct 2023 14:31:45 -0400 Subject: [PATCH] adds workflow for revised format Signed-off-by: Kevin Griffin --- .github/workflows/revised-format.yml | 41 ++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 .github/workflows/revised-format.yml diff --git a/.github/workflows/revised-format.yml b/.github/workflows/revised-format.yml new file mode 100644 index 0000000..32490f1 --- /dev/null +++ b/.github/workflows/revised-format.yml @@ -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 \ No newline at end of file