Skip to content

Commit bd35eac

Browse files
authored
Merge pull request github#16153 from rajbos/patch-2
Add in more copy options to make it easier for the user
2 parents bed115a + bae5d83 commit bd35eac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/actions/creating-actions/creating-a-javascript-action.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ In your `hello-world-javascript-action` directory, create a `README.md` file tha
141141
- Environment variables the action uses.
142142
- An example of how to use your action in a workflow.
143143

144-
```markdown
144+
```markdown{:copy}
145145
# Hello world javascript action
146146
147147
This action prints "Hello World" or "Hello" + the name of a person to greet to the log.
@@ -198,7 +198,7 @@ Checking in your `node_modules` directory can cause problems. As an alternative,
198198
`rm -rf node_modules/*`
199199

200200
1. From your terminal, commit the updates to your `action.yml`, `dist/index.js`, and `node_modules` files.
201-
```shell
201+
```shell{:copy}
202202
git add action.yml dist/index.js node_modules/*
203203
git commit -m "Use vercel/ncc"
204204
git tag -a -m "My first action release" v1.1

0 commit comments

Comments
 (0)