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 name: Deploy Project
# on: on:
# push: workflow_run:
# branches: [develop] workflows: build
# paths-ignore: types: [ completed ] #requested
# - 'README.md'
# # - '.github/**'
# pull_request:
# branches: [develop]
# paths-ignore:
# - 'README.md'
# # - '.github/**'
on:
workflow_dispatch:
branches: [develop]
paths-ignore:
- 'README.md'
# - '.github/**'
jobs: 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: deploy:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }} if: ${{ github.event.workflow_run.conclusion == 'success' }}