diff options
| author | Adam Janovsky | 2022-04-26 08:21:14 +0200 |
|---|---|---|
| committer | Adam Janovsky | 2022-04-26 08:21:14 +0200 |
| commit | 2ada5810445ff7122c585752c8d01e712a395394 (patch) | |
| tree | b783b17d963ae82a6f3ce6498712aeee822468a2 /.github/workflows | |
| parent | 51f3120a9b33a8e4d303c76a6e39bed13f679f71 (diff) | |
| download | sec-certs-2ada5810445ff7122c585752c8d01e712a395394.tar.gz sec-certs-2ada5810445ff7122c585752c8d01e712a395394.tar.zst sec-certs-2ada5810445ff7122c585752c8d01e712a395394.zip | |
.
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/docs.yml | 16 | ||||
| -rw-r--r-- | .github/workflows/draft_release.yml | 21 |
2 files changed, 16 insertions, 21 deletions
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 4971a49d..056153c8 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -6,8 +6,16 @@ jobs: docs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 - - uses: ammaraskar/sphinx-action@master + - uses: actions/checkout@v2 + - uses: actions/setup-python@v2 with: - pre-build-command: python -m pip install -r requirements/dev_requirements.txt - docs-folder: "docs/" + python-version: 3.8 + - name: Install sec-certs and deps + run: | + pip install -r requirements/requirements.txt + pip install -r requirements/dev_requirements.txt + pip install -e . + - name: Build docs + run: | + cd docs + make html diff --git a/.github/workflows/draft_release.yml b/.github/workflows/draft_release.yml index 4490c0d0..95e2cadc 100644 --- a/.github/workflows/draft_release.yml +++ b/.github/workflows/draft_release.yml @@ -2,25 +2,12 @@ name: Create release draft on: push: - # branches: - # - "main" - # tags: - # - "*.*.*" + branches: + - "main" + tags: + - "*.*.*" jobs: - check-version: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v2 - - name: Read VERSION file - run: echo "ACTUAL_VERSION=$(cat VERSION)" >> $GITHUB_ENV - - name: Check versions - run: | - if ((${{env.PACKAGE_NUMBER}} != ${{github.ref_name}})) ; then - echo "Tag does not match version number in VERSION file" - exit 1 - fi draft-release: runs-on: ubuntu-latest steps: |
