10000 Merge pull request #6 from andmos/main · githubocto/flat@92c99fc · GitHub
[go: up one dir, main page]

Skip to content

Commit 92c99fc

Browse files
authored
Merge pull request #6 from andmos/main
Addes 'secrets.' prefix to SQL secret example
2 parents 6473bc1 + 504e3f9 commit 92c99fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ A URI-style database connection string. Flat will use this connection string to
110110
> Most connection strings contain an authentication secret like a username and password. GitHub provides an encrypted vault for secrets like these which can be used by the action when it runs. [Create a secret](https://docs.github.com/en/actions/reference/encrypted-secrets#creating-encrypted-secrets-for-a-repository) on the repository where the Flat action will run, and use that secret in your workflow.yaml like so:
111111
>
112112
> ```
113-
> sql_connstring: ${{NAME_OF_THE_CREATED_SECRET}}
113+
> sql_connstring: ${{secrets.NAME_OF_THE_CREATED_SECRET}}
114114
> ```
115115
>
116116
> If you're using the [flat-vscode extension](https://github.com/githubocto/flat-vscode), this is handled for you.

0 commit comments

Comments
 (0)
0