Skip to content

Commit

Permalink
create deploy workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
dit-zy authored Feb 12, 2024
1 parent e8307be commit 837bbd5
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: deploy plugin

on:
workflow_dispatch:
inputs:
deployment_type:
description: 'stable or testing'
type: choice
required: true
default: 'testing'
options:
- stable
- testing
version:
description: 'version (e.g. 1.0.0.0)'
type: string
required: true
open_pr:
description: 'should a pr be opened for the deployment?'
type: boolean
required: false
default: false

jobs:
deploy-plugin:
uses: kalilistic/DalamudPluginDeploy/.github/workflows/deploy_plugin.yml@7dd6a4952a96ad4b3b5b0c61ab90e64fd09f1c4e
with:
public_name: "ScoutHelper"
internal_name: "ScoutHelper"
project_dir: "ScoutHelper"
project_name: "ScoutHelper"
github_username: "dit-zy"
github_email: "[email protected]"
open_pr: ${{ github.event.inputs.open_pr }}
deployment_type: ${{ github.event.inputs.deployment_type }}
version: ${{ github.event.inputs.version }}
secrets:
DEPLOY_TOKEN: ${{ secrets.PAT }}

0 comments on commit 837bbd5

Please sign in to comment.