You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It can then be imported into your project like so.
97
97
98
98
```javascript
99
-
import run, {ActionInterface} from "github-pages-deploy-action";
99
+
import run from "github-pages-deploy-action";
100
100
```
101
101
102
102
Calling the functions directly will require you to pass in an object containing the variables found in the configuration section, you'll also need to provide a `workspace` with a path to your project.
For more information regarding the [action interface please click here](https://github.com/JamesIves/github-pages-deploy-action/blob/dev/src/constants.ts#L7).
117
+
For more information regarding the [action interface please click here](https://github.com/JamesIves/github-pages-deploy-action/blob/dev/src/constants.ts#L7).
117
118
118
119
## Configuration 📁
119
120
@@ -335,8 +336,4 @@ If you'd like to enable action debugging you can set the `ACTIONS_STEP_DEBUG` en
335
336
336
337
This project would not be possible without all of our fantastic [contributors](https://github.com/JamesIves/github-pages-deploy-action/graphs/contributors).
If you'd like to support the maintenance and upkeep of this project you can [donate via GitHub Sponsors](https://github.com/sponsors/JamesIves). This project is distributed under the [MIT](https://github.com/JamesIves/github-pages-deploy-action/blob/dev/LICENSE) license.
Copy file name to clipboardExpand all lines: __tests__/util.test.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -321,7 +321,7 @@ describe('util', () => {
321
321
checkParameters(action)
322
322
}catch(e){
323
323
expect(e.message).toMatch(
324
-
`The ${action.folderPath}directory you're trying to deploy doesn't exist.`
324
+
`The directory you're trying to deploy named notARealFolder doesn't exist. Please double check the path and any prerequisite build scripts and try again. ❗`
`The ${action.folderPath}directory you're trying to deploy doesn't exist. ❗`
71
+
`The directory you're trying to deploy named ${action.folderPath}doesn't exist. Please double check the path and any prerequisite build scripts and try again. ❗`
0 commit comments