From d40709342f8b8d8605e51a7784dc5b673be1781b Mon Sep 17 00:00:00 2001 From: Kevin Griffin Date: Tue, 31 Oct 2023 14:37:17 -0400 Subject: [PATCH] adds workflow Signed-off-by: Kevin Griffin --- .github/workflows/revised-format.yml | 45 ++++++++++++++++++++++++++++ 1 file changed, 45 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..7c66c27 --- /dev/null +++ b/.github/workflows/revised-format.yml @@ -0,0 +1,45 @@ +name: revised-format +on: + push: + branches: + - revised-format + workflow_dispatch: + 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