-
Notifications
You must be signed in to change notification settings - Fork 176
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow user to change working directory
- Loading branch information
1 parent
75c00d8
commit f0a5b90
Showing
3 changed files
with
18 additions
and
2 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 |
---|---|---|
|
@@ -52,6 +52,16 @@ jobs: | |
uses: serverless/[email protected] | ||
with: | ||
serverless-version: 3 | ||
args: deploy | ||
``` | ||
## Change your working directory | ||
```yaml | ||
- name: Deploy from a particular working directory | ||
uses: serverless/[email protected] | ||
with: | ||
working-directory: ./foo | ||
args: deploy | ||
``` | ||
## Usage with serverless plugins | ||
|
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
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,3 +1,4 @@ | ||
#!/bin/sh -l | ||
npm i -g serverless@${1/v/} | ||
serverless $2 | ||
cd $1 | ||
npm i -g serverless@${2/v/} | ||
serverless $3 |