summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Peveler <matt.peveler@gmail.com>2022-05-22 12:14:58 -0400
committerGitHub <noreply@github.com>2022-05-22 12:14:58 -0400
commit1707edd1ea1b2e0cb10c6f4b36f94326fa53e718 (patch)
tree98b9e78cdb8cb1591f620a26c8455521b38c56bd
parentb62311f1bcffda936eab4173e2d94f4cd6f75a1f (diff)
downloadasciidoc-py3-1707edd1ea1b2e0cb10c6f4b36f94326fa53e718.tar.gz
Update website as part of release (#257)
-rw-r--r--.github/workflows/release.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 546253f..fe552ed 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -47,6 +47,18 @@ jobs:
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
+
+ - name: Publish website
+ uses: actions/github-script@v6
+ with:
+ github-token: ${{ secrets.PAT_TOKEN }}
+ script: |
+ await github.rest.actions.createWorkflowDispatch({
+ owner: 'asciidoc-py',
+ repo: 'asciidoc-py.github.io',
+ workflow_id: 'publish.yml',
+ ref: 'main'
+ })
homebrew:
runs-on: macos-latest
@@ -60,3 +72,4 @@ jobs:
formula: asciidoc
tag: ${{github.ref}}
revision: ${{github.sha}}
+