diff --git a/templates/Example_Documentation-template.md b/.github/DOCUMENT_TEMPLATE.md similarity index 100% rename from templates/Example_Documentation-template.md rename to .github/DOCUMENT_TEMPLATE.md diff --git a/.github/workflows/recreate_on_push.yaml b/.github/workflows/recreate_on_push.yaml index ee646313..5189b5e5 100644 --- a/.github/workflows/recreate_on_push.yaml +++ b/.github/workflows/recreate_on_push.yaml @@ -5,40 +5,39 @@ name: Create offline documentation on: push: - branches: [ master ] + branches: [master] workflow_dispatch: jobs: build: - runs-on: ubuntu-latest strategy: matrix: python-version: [3.8] steps: - - uses: actions/checkout@v2 - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 - with: - python-version: ${{ matrix.python-version }} - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install setuptools wheel - pip -r requirements.txt - - name: Run mkdocs --clean - run: | - mkdocs build --clean - - - name: Upload pdf - uses: actions/upload-artifact@v2 - with: - name: artifact - path: site/pdf/document.pdf - + - uses: actions/checkout@v2 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v2 + with: + python-version: ${{ matrix.python-version }} + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install setuptools wheel + pip install -r requirements.txt + - name: Run mkdocs --clean + run: | + mkdocs build --clean + + - name: Upload pdf + uses: actions/upload-artifact@v2 + with: + name: artifact + path: site/pdf/document.pdf + Deploy: - needs: [ build ] + needs: [build] runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 diff --git a/README.md b/README.md index e57a6c59..e80f373c 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,12 @@ [](https://github.com/armbian/documentation/actions/workflows/recreate_on_push.yaml) +
+
+
+
+