Skip to content

Commit

Permalink
Advanced deploy (#260)
Browse files Browse the repository at this point in the history
* Advanced deploy

* fidxed missing env
  • Loading branch information
AndreasBrostrom authored Jul 29, 2024
1 parent 7de40f6 commit 44ef144
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,17 @@ jobs:
- name: Setup HEMTT
uses: arma-actions/hemtt@v1
- name: Run HEMTT release
run: hemtt release
- name: DEBUG ending...
if: ${{ inputs.environment == 'live' }}
run: |
Write-Host "Environment: $ENVIRONMENT"
Get-Content -Path .hemttout\
hemtt release
Get-ChildItem -Path .hemttout\
env:
ENVIRONMENT: ${{ inputs.environment }}
ENVIRONMENT: ${{ inputs.environment }}

- name: Run HEMTT build
if: ${{ inputs.environment == 'dev' }}
run: |
hemtt release
Get-ChildItem -Path .hemttout\
env:
ENVIRONMENT: ${{ inputs.environment }}

0 comments on commit 44ef144

Please sign in to comment.