Skip to content

Commit

Permalink
docs: fix trigger (#179)
Browse files Browse the repository at this point in the history
* fix trigger
  • Loading branch information
j4qfrost committed Jan 22, 2023
1 parent 8682e46 commit 92caa42
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
pull_request:
branches:
- master
types: [closed]
workflow_dispatch:
branches:
- master
Expand All @@ -16,8 +17,7 @@ jobs:
docs:
if: |
github.event_name == 'workflow_dispatch'
|| (github.event_name == 'pull_request' && startsWith(github.head_ref, 'docs/')
&& github.event.action == 'closed' && github.event.pull_request.merged == true)
|| (github.event.pull_request.merged && startsWith($GITHUB_REF_NAME, 'docs/'))
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

![](assets/image.png)

[![Linux](https://github.com/conduit-dart/conduit/actions/workflows/linux.yml/badge.svg)](https://github.com/conduit-dart/conduit/actions/workflows/linux.yml) [![Windows](https://github.com/conduit-dart/conduit/actions/workflows/windows.yml/badge.svg)](https://github.com/conduit-dart/conduit/actions/workflows/windows.yml) [![Macos](https://github.com/conduit-dart/conduit/actions/workflows/macos.yml/badge.svg)](https://github.com/conduit-dart/conduit/actions/workflows/macos.yml) [<img src="https://discord.com/assets/3437c10597c1526c3dbd98c737c2bcae.svg" width="28" height="20">](https://discord.gg/MHz5cqktHW)
[![Linux](https://github.com/conduit-dart/conduit/actions/workflows/linux.yml/badge.svg)](https://github.com/conduit-dart/conduit/actions/workflows/linux.yml) [![Windows](https://github.com/conduit-dart/conduit/actions/workflows/windows.yml/badge.svg)](https://github.com/conduit-dart/conduit/actions/workflows/windows.yml) [![Macos](https://github.com/conduit-dart/conduit/actions/workflows/macos.yml/badge.svg)](https://github.com/conduit-dart/conduit/actions/workflows/macos.yml)[<img src="assets/3437c10597c1526c3dbd98c737c2bcae.svg" width="28" height="20">](https://discord.gg/MHz5cqktHW)
[![melos](https://img.shields.io/badge/maintained%20with-melos-f700ff.svg?style=flat-square)](https://github.com/invertase/melos)

## Conduit
Expand Down

0 comments on commit 92caa42

Please sign in to comment.