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
Assets Artifacts, is designed to compile the assets of your project and commit and push these assets back into the repository. It also moves the tags to point to the commit where the assets are pushed.
9
+
Assets Artifacts is designed to compile the assets of your project and commit and push these assets back into the repository. It also moves the tags to point to the commit where the assets are pushed.
10
10
11
11
## What it does
12
12
@@ -20,6 +20,7 @@ Assets Artifacts, is designed to compile the assets of your project and commit a
20
20
21
21
-`command` Pass the command the action has to use to build the artifacts. Default to `yarn build`.
22
22
-`target-dir` Pass the director where the action has to store the artifacts. Default to `build`.
23
+
-`can-push` Pass the boolean indicating if the assets can be pushed or not. Default to `true`.
23
24
24
25
## Workflow Example
25
26
@@ -66,6 +67,7 @@ jobs:
66
67
with:
67
68
command: 'npm run build'
68
69
target-dir: './dist'
70
+
can-pus: 'false'
69
71
```
70
72
71
73
In this workflow, the action is triggered on every push event that includes a tag. The workflow runs on the latest version of Ubuntu and will not run if the commit message contains `--skip-assets-artifacts`.
0 commit comments