Update temp folder cleanup workflow to use PowerShell for directory l… #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Env - Deployment Protection Rule | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
deploy-to-dev: | |
runs-on: ubuntu-latest | |
environment: dev | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v3 | |
- name: Deploy to Dev | |
run: echo "Deploying to the dev environment." | |
deploy-to-prod: | |
needs: deploy-to-dev | |
runs-on: ubuntu-latest | |
environment: prod | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v3 | |
- name: Deploy to Prod | |
run: echo "Deploying to the prod environment." |