Skip to content

Commit

Permalink
Added manual deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasBrostrom committed Jul 29, 2024
1 parent 992c615 commit 6af9831
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/hemtt-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Deploy

on:
workflow_dispatch:
inputs:
environment:
description: 'Selected deploy enviroment'
required: true
default: 'dev'
type: choice
options:
- dev
- live
jobs:
windows:
runs-on: windows-latest
steps:
- name: Checkout the source code
uses: actions/checkout@v4
- name: Setup HEMTT
uses: arma-actions/hemtt@v1
- name: Checkout pull request
uses: actions/checkout@v4
- name: Run HEMTT release
run: hemtt release
#- name: Rename build folder
# run: mv .hemttout/build .hemttout/@cav
- name: DEBUG ending...
run: |
Write-Host "Environment: $ENVIRONMENT"
Get-Content -Path .hemttout
env:
ENVIRONMENT: ${{ inputs.environment }}
shell: pwsh
#- name: Upload Artifact
# uses: actions/upload-artifact@v4
# with:
# name: cav-${{ github.sha }}
# path: .hemttout/@*

0 comments on commit 6af9831

Please sign in to comment.