Skip to content

Commit

Permalink
ci: add environments
Browse files Browse the repository at this point in the history
  • Loading branch information
iiroj committed Jul 8, 2024
1 parent ad16508 commit 1f1503b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:

jobs:
Preview:
environment:
name: Preview
url: ${{ steps.deploy.outputs.deployment-url }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ concurrency: production_deployment

jobs:
Deploy:
environment:
name: Production
url: https://iiro.fi
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit 1f1503b

Please sign in to comment.