Skip to content

Commit

Permalink
Trigger deploy to Pages from release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ybiquitous committed Oct 7, 2022
1 parent 5523783 commit 6f0d166
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
name: GitHub Pages

on:
push:
tags: ["**"]
workflow_run:
workflows: [Release]
types: [completed]
workflow_dispatch:

concurrency:
Expand All @@ -16,6 +17,7 @@ permissions:

jobs:
deploy:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
Expand Down

0 comments on commit 6f0d166

Please sign in to comment.