Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/prod-stage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ name: Deploy Production App
on:
# push:
# branches: [ main ]
# pull_request:
# types: [ closed ]
pull_request:
types: [ closed ]
workflow_dispatch:

jobs:
build:
# if: github.event.pull_request.merged == true
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
Expand Down
1 change: 0 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ app.get("/", async (req, res, next) => {
const [dbNowResult] = await sql`select now();`
const delta = (dbNowResult.now.getTime() - now) / 1000
return res.status(200).json({
message: "Hello from root!",
delta: delta,
stage: STAGE
});
Expand Down