Skip to content

Commit

Permalink
ci: Publish docs only if CI passes
Browse files Browse the repository at this point in the history
  • Loading branch information
MontealegreLuis committed Apr 26, 2022
1 parent b5a8b17 commit 88a41a1
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
name: Documentation

on:
push:
branches:
- master
workflow_run:
workflows: [ CI ]
types: [ completed ]
branches: [ master ]

jobs:
deploy:
runs-on: ubuntu-18.04
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- name: "Checkout documentation"
uses: actions/checkout@v1
Expand Down

0 comments on commit 88a41a1

Please sign in to comment.