Skip to content

Commit 78e138a

Browse files
committed
Trigger deploy after compile
Signed-off-by: Crola1702 <[email protected]>
1 parent 51d034d commit 78e138a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
name: CI
2+
name: Build and Deploy
33
on:
44
push:
55
branches: ["main"]
@@ -32,8 +32,8 @@ jobs:
3232
environment:
3333
name: github-pages
3434
url: ${{ steps.deployment.outputs.page_url }}
35-
if: ${{ github.event.workflow_run.conclusion == 'success' }}
3635
runs-on: ubuntu-22.04
36+
needs: compile
3737
steps:
3838
- name: Deploy to GitHub Pages
3939
id: deployment

0 commit comments

Comments
 (0)