Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 78f1c81

Browse files
Updated all for dev
1 parent f23cea9 commit 78f1c81

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

‎.github/workflows/dev-stage.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
1414
API_KEY: ${{ secrets.NEON_API_KEY }}
1515
STAGE: dev
16-
GH_TOKEN: ${{ github.token }}
16+
GH_TOKEN: ${{ github.token }}# github cli -> gh
1717
steps:
1818
- uses: actions/checkout@v4
1919
with:

‎.github/workflows/prod-stage.yaml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: Deploy Production App
22

33
on:
4+
# push:
5+
# branches: [ main ]
46
# pull_request:
57
# types: [ closed ]
68
workflow_dispatch:

‎src/index.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ app.get("/path", (req, res, next) => {
2828

2929

3030
app.get("/leads", async (req, res, next) => {
31-
const results = await crud.getLead(9)
31+
const results = await crud.getLeads()
3232
return res.status(200).json({
3333
results: results,
3434
});

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /