Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Target servers by name for mup actions (#11)
* fix: force meteoer version 2.13.0 to prevent deployment failures on 2.13.1 * Add comments explaining the meteor issue * Force version 2.12 * feat: Add option to pass a list of server names to target with mup commands * feat: remove forced meteor version and use default meteor install url * refactor: remove duuble quotes on vars in mup commands
- Loading branch information
1 parent
79a9842
commit 4b7ecd6
Showing
2 changed files
with
34 additions
and
23 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,25 @@ | ||
name: "MUP Deploy" | ||
description: "Deploy a Meteor application using Meteor Up" | ||
inputs: | ||
mode: | ||
description: 'The MUP script to run. Either "DEPLOY", "SETUP", or "RESTART"' | ||
required: true | ||
meteor_deploy_path: | ||
description: "The relative path to Meteor's .deploy directory" | ||
required: true | ||
package_manager: | ||
description: 'The node package manager to use. Either "NPM" or "YARN"' | ||
required: true | ||
project_path: | ||
description: "The path to the folder that contains the package.json for the Meteor app. Defaults to the current directory." | ||
required: false | ||
default: "." | ||
mode: | ||
description: 'The MUP script to run. Either "DEPLOY", "SETUP", or "RESTART"' | ||
required: true | ||
meteor_deploy_path: | ||
description: "The relative path to Meteor's .deploy directory" | ||
required: true | ||
package_manager: | ||
description: 'The node package manager to use. Either "NPM" or "YARN"' | ||
required: true | ||
project_path: | ||
description: "The path to the folder that contains the package.json for the Meteor app. Defaults to the current directory." | ||
required: false | ||
default: "." | ||
servers: | ||
description: "Comma separated server names for the action to target. Ex: 'one,two'" | ||
required: false | ||
default: "" | ||
runs: | ||
using: "composite" | ||
steps: | ||
- run: chmod +x ${{github.action_path}}/script.sh && sh ${{github.action_path}}/script.sh ${{ inputs.mode }} ${{ inputs.meteor_deploy_path }} ${{ inputs.package_manager }} ${{ github.workspace }} ${{ inputs.project_path }} | ||
shell: bash | ||
using: "composite" | ||
steps: | ||
- run: chmod +x ${{github.action_path}}/script.sh && sh ${{github.action_path}}/script.sh ${{ inputs.mode }} ${{ inputs.meteor_deploy_path }} ${{ inputs.package_manager }} ${{ github.workspace }} ${{ inputs.project_path }} | ||
shell: bash |
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