Update .github/workflows/deploy.yml

This commit is contained in:
Alex Savin
2025-04-28 00:08:56 -04:00
parent fe0f911ec7
commit 46f3caf277

View File

@ -1,25 +1,23 @@
name: Deploy Project
# on:
# push:
# branches: [develop]
# paths-ignore:
# - 'README.md'
# # - '.github/**'
# pull_request:
# branches: [develop]
# paths-ignore:
# - 'README.md'
# # - '.github/**'
on:
workflow_dispatch:
branches: [develop]
paths-ignore:
- 'README.md'
# - '.github/**'
on:
workflow_run:
workflows: build
types: [ completed ] #requested
jobs:
on-success:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- run: echo "First workflow was a success"
on-failure:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'failure' }}
steps:
- run: echo "First workflow was a failure"
deploy:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}