Skip to content

Commit

Permalink
Merge pull request #351 from RyoJerryYu/feat-use-environment-for-deploy
Browse files Browse the repository at this point in the history
chore: use github deployment feature in workflow
  • Loading branch information
RyoJerryYu authored May 15, 2024
2 parents 351e366 + 7420577 commit 509d271
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/aws-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ jobs:
deploy:
needs: build
runs-on: ubuntu-latest
environment:
name: Production
url: https://blog.ryo-okami.xyz
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/aws-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ jobs:
deploy:
needs: build
runs-on: ubuntu-latest
environment:
name: Preview
url: https://test.ryo-okami.xyz
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down

0 comments on commit 509d271

Please sign in to comment.