Skip to content

Commit a796c9f

Browse files
committed
docs: Added base64 instructions
1 parent 4db9273 commit a796c9f

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

README.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,19 @@ To use this action, you need to provide the necessary configuration details for
2121
certificate_name: ${{ secrets.VPN_CERTIFICATE_NAME }}
2222
```
2323
24-
Make sure to store your sensitive information (such as the config, certificate, and certificate_name) as secrets in your GitHub repository to keep them secure.
24+
Make sure to store your sensitive information (such as the config, certificate, and certificate_name) as secrets in your GitHub repository to keep them secure.
2525
26-
For more information on how to use this action, please refer to the [GitHub Action documentation](https://docs.github.com/actions).
26+
The certificate will need to be converted to base 64 before you can save the value as a GitHub secret.
27+
28+
```shell
29+
# Mac/Linux
30+
base64 <file_name> > output.txt
31+
32+
# Windows
33+
certutil -encode <file_name> output.txt
34+
```
35+
Replace `<file_name>` with the name of the file you want to encode. The encoded output will be saved in `output.txt`.
36+
37+
Remember to replace `<file_name>` with the actual name of the file you want to encode.
2738

39+
For more information on how to use this action, please refer to the [GitHub Action documentation](https://docs.github.com/actions).

0 commit comments

Comments
 (0)