Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rvtr authored Oct 7, 2024
1 parent 0e9e084 commit 07a1084
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,22 @@
name: update server
run-name: Update locally hosted server
on: [push]
on:
workflow_run:
workflows: [pages build and deployment]
types:
- completed

jobs:
success:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- run: echo 'The First workflow completed successfully.'
failure:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'failure' }}
steps:
- run: echo 'The First workflow failed.'
update:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 07a1084

Please sign in to comment.