Skip to content

Commit

Permalink
set environment url
Browse files Browse the repository at this point in the history
  • Loading branch information
jshawl committed Mar 21, 2024
1 parent 0b90bcc commit 8feca5e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ jobs:
runs-on: ubuntu-latest
needs: test
if: github.ref != 'refs/heads/main'
environment: staging
environment:
name: staging
url: https://staging.cinotify.cc/api/notify
steps:
- uses: actions/checkout@v4
- name: Deploy
Expand All @@ -39,7 +41,9 @@ jobs:
runs-on: ubuntu-latest
needs: test
if: github.ref == 'refs/heads/main'
environment: production
environment:
name: production
url: https://www.cinotify.cc/api/notify
steps:
- uses: actions/checkout@v4
- name: Deploy
Expand Down

0 comments on commit 8feca5e

Please sign in to comment.