Skip to content
This repository was archived by the owner on Mar 15, 2026. It is now read-only.

Commit 7606d6b

Browse files
authored
refactor: Use consistent naming for Lagon API token (#2)
Signed-off-by: 20k-ultra <3946250+20k-ultra@users.noreply.github.com>
1 parent f81972e commit 7606d6b

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- uses: actions/checkout@v2
2525
- uses: lagonapp/github-action@latest
2626
with:
27-
lagon_token: ${{ secrets.LAGON_API_TOKEN }}
27+
lagon_token: ${{ secrets.LAGON_TOKEN }}
2828
- name: Log Function URL
2929
run: |
3030
url=$(grep -o 'https://[^[:space:]]*' lagon.output)
@@ -41,7 +41,7 @@ If you want to run a different command just specify it with the `command` input:
4141

4242
```bash
4343
with:
44-
lagon_token: ${{ secrets.LAGON_API_TOKEN }}
44+
lagon_token: ${{ secrets.LAGON_TOKEN }}
4545
command: ls
4646
```
4747

@@ -64,7 +64,7 @@ Inputs are provided using the `with:` section of your workflow YML file.
6464

6565
```bash
6666
with:
67-
lagon_token: ${{ secrets.LAGON_API_TOKEN }}
67+
lagon_token: ${{ secrets.LAGON_TOKEN }}
6868
config: |
6969
{
7070
"function_id": "${{ vars.lagon_function_id }}",

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ runs:
4747
run: |
4848
echo "Configuring Lagon CLI..."
4949
if [[ -z "${LAGON_TOKEN}" ]]; then
50-
echo "LAGON_API_TOKEN input is not set"
50+
echo "LAGON_TOKEN input is not set"
5151
exit 1
5252
fi
5353

0 commit comments

Comments
 (0)