Skip to content

Commit

Permalink
Only run deploy after linting is passed.
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanwelcher committed Jan 27, 2025
1 parent 17cba5e commit 8539f80
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Publish Website over SFTP

on:
pull_request:
push:
branches:
- trunk
on
workflow_run:
workflows: ['Static Linting']
types: [completed]
jobs:
after:
runs-on: ubuntu-latest
steps:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
- run: echo "Second action successfully finished!"

0 comments on commit 8539f80

Please sign in to comment.