Skip to content

deali_itsm: Update ReadME.md #17

deali_itsm: Update ReadME.md

deali_itsm: Update ReadME.md #17

Workflow file for this run

# This is a basic workflow that is manually triggered
name: itsm
# Controls when the action will run. Workflow runs when manually triggered using the UI
# or API.
on:
push:
branches: [main]
paths:
- 'apps/it/**'
pull_request:
branches: [main]
paths:
- 'apps/it/**'
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "greet"
Build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- uses: actions/checkout@v4
- name: Compile
run: echo Hello, Dealicious
DeployDev:
name: Deploy to Dev
if: github.event_name == 'pull_request'
needs: [Build]
runs-on: ubuntu-latest
environment:
name: Development
url: 'http://dev.myapp.com'
steps:
- name: Deploy
run: echo I am developing!
DeployStaging:
name: Deploy to Staging
if: github.event.ref == 'refs/heads/main'
needs: [Build]
runs-on: ubuntu-latest
environment:
name: Staging
url: 'http://test.myapp.com'
steps:
- name: Deploy
run: echo I am developing!
DeployProd:
name: Deploy to Production
needs: [DeployStaging]
runs-on: ubuntu-latest
environment:
name: Production
url: 'http://www.myapp.com'
steps:
- name: Deploy
run: echo I am deploying!