From 07d18f56ce2f87be736d2a8e77037c70e6f0f99c Mon Sep 17 00:00:00 2001 From: Justin Joyce Date: Fri, 3 Jun 2022 08:23:52 +0100 Subject: [PATCH] [RELEASE] --- .github/workflows/documents.yml | 8 +++----- .github/workflows/release.yaml | 4 +++- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/documents.yml b/.github/workflows/documents.yml index 72204acf4..5bf06087d 100644 --- a/.github/workflows/documents.yml +++ b/.github/workflows/documents.yml @@ -1,9 +1,7 @@ name: Documentation on: - push: - branches: - - master - - main + release: + types: [ published ] jobs: deploy: runs-on: ubuntu-latest @@ -12,5 +10,5 @@ jobs: - uses: actions/setup-python@v2 with: python-version: 3.x - - run: pip install mkdocs-material==8.2.9 MarkupSafe==2.1.1 PyYAML==6.0 click==8.1.2 ghp-import==2.0.2 importlib-metadata==4.11.3 jinja2==3.1.1 markdown==3.3.6 mergedeep==1.3.4 mkdocs==1.3.0 mkdocs-material-extensions==1.0.3 packaging==21.3 pygments==2.11.2 pymdown-extensions==9.3 pyparsing==3.0.8 python-dateutil==2.8.2 pyyaml-env-tag==0.1 six==1.16.0 watchdog==2.1.7 zipp==3.8.0 + - run: pip install mkdocs-material - run: mkdocs gh-deploy --force \ No newline at end of file diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 3f5409197..8a13f6bc7 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -2,7 +2,9 @@ name: release on: push: - branches: [ main, beta ] + branches: [ main ] + release: + types: [ published ] jobs: