Release automation (#521)

* workflow updates

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* build release

* remove if

* test on main

* update docs release workflow

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
Peter W
2022-06-21 09:42:56 -05:00
committed by GitHub
parent 9274f9ec08
commit f3888df88c
3 changed files with 66 additions and 18 deletions

View File

@@ -1,15 +1,11 @@
name: '[Docs] Build Release'
on:
# Any time a tag or branch is created
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#create
create:
paths:
- docs/**
release:
types: [published]
jobs:
build:
if: startsWith(github.ref, 'refs/tags') # Only if tagged
runs-on: ubuntu-latest
permissions:
contents: read