-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge b3bbef8738d197cbf4ec249ae9f3df0d2d3cc0aa into d72e12c2ddad8d537…
…5da007e713422dcae7fab5b
- Loading branch information
Showing
14 changed files
with
37 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: deploy | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
- pr-test/* | ||
|
||
concurrency: | ||
group: deploy | ||
cancel-in-progress: false | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
id-token: write | ||
|
||
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install defang | ||
run: . <(curl -Ls https://s.defang.io/install) | ||
|
||
- name: Login to Defang | ||
run: defang login | ||
|
||
- name: Deploy | ||
run: defang compose up -v --detach |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
name: nextjs-boilerplate | ||
services: | ||
service1: | ||
app: | ||
build: | ||
context: . | ||
context: ./app | ||
dockerfile: Dockerfile | ||
ports: | ||
- mode: ingress | ||
target: 3000 | ||
target: 3000 |