Skip to content

Commit

Permalink
ci: add worflow_dispatch (#144)
Browse files Browse the repository at this point in the history
* ci: add worflow_dispatch

* Update publishTempSite.yml only if habla repository

Co-authored-by: Eduardo Ruiz <eduardo.ruiz@hablapps.com>
Co-authored-by: Alfonso Roa <roaredalfonso@gmail.com>
  • Loading branch information
3 people authored Jan 21, 2022
1 parent c0fa893 commit 67d69f1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
name: CI
on:
push:
branches-ignore:
- main
- gh-pages
pull_request:
branches-ignore:
- gh-pages
workflow_dispatch:

jobs:
build:
#if: github.event.pull_request.draft == false
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/publishTempSite.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
name: Publish temp site
on:
push:
branches-ignore:
- main
- gh-pages
branches:
- '*doc/*'
workflow_dispatch:

jobs:
publish:
if: github.GITHUB_REPOSITORY != 'hablapps/doric'
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
Expand Down

0 comments on commit 67d69f1

Please sign in to comment.