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
15 changes: 2 additions & 13 deletions samples/angular-express/.github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
name: deploy
name: Deploy

on:
push:
branches:
- main
- pr-test/*

concurrency:
group: deploy
cancel-in-progress: false

jobs:
deploy:
Expand All @@ -21,11 +16,5 @@ jobs:
- 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
uses: DefangLabs/defang-github-action@v1.0.4
15 changes: 2 additions & 13 deletions samples/bullmq-bullboard-redis/.github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
name: deploy
name: Deploy

on:
push:
branches:
- main
- pr-test/*

concurrency:
group: deploy
cancel-in-progress: false

jobs:
deploy:
Expand All @@ -21,11 +16,5 @@ jobs:
- 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
uses: DefangLabs/defang-github-action@v1.0.4
20 changes: 20 additions & 0 deletions samples/csharp-dotnet/.github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Deploy

on:
push:
branches:
- main

jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write

steps:
- name: Checkout Repo
uses: actions/checkout@v4

- name: Deploy
uses: DefangLabs/defang-github-action@v1.0.4
15 changes: 2 additions & 13 deletions samples/django-postgres/.github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
name: deploy
name: Deploy

on:
push:
branches:
- main
- pr-test/*

concurrency:
group: deploy
cancel-in-progress: false

jobs:
deploy:
Expand All @@ -21,11 +16,5 @@ jobs:
- 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
uses: DefangLabs/defang-github-action@v1.0.4
15 changes: 2 additions & 13 deletions samples/django/.github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
name: deploy
name: Deploy

on:
push:
branches:
- main
- pr-test/*

concurrency:
group: deploy
cancel-in-progress: false

jobs:
deploy:
Expand All @@ -21,11 +16,5 @@ jobs:
- 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
uses: DefangLabs/defang-github-action@v1.0.4
15 changes: 2 additions & 13 deletions samples/elysia/.github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
name: deploy
name: Deploy

on:
push:
branches:
- main
- pr-test/*

concurrency:
group: deploy
cancel-in-progress: false

jobs:
deploy:
Expand All @@ -21,11 +16,5 @@ jobs:
- 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
uses: DefangLabs/defang-github-action@v1.0.4
15 changes: 2 additions & 13 deletions samples/fastapi-postgres/.github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
name: deploy
name: Deploy

on:
push:
branches:
- main
- pr-test/*

concurrency:
group: deploy
cancel-in-progress: false

jobs:
deploy:
Expand All @@ -21,11 +16,5 @@ jobs:
- 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
uses: DefangLabs/defang-github-action@v1.0.4
15 changes: 2 additions & 13 deletions samples/fastapi/.github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
name: deploy
name: Deploy

on:
push:
branches:
- main
- pr-test/*

concurrency:
group: deploy
cancel-in-progress: false

jobs:
deploy:
Expand All @@ -21,11 +16,5 @@ jobs:
- 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
uses: DefangLabs/defang-github-action@v1.0.4
20 changes: 20 additions & 0 deletions samples/feathersjs/.github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Deploy

on:
push:
branches:
- main

jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write

steps:
- name: Checkout Repo
uses: actions/checkout@v4

- name: Deploy
uses: DefangLabs/defang-github-action@v1.0.4
15 changes: 2 additions & 13 deletions samples/flask/.github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
name: deploy
name: Deploy

on:
push:
branches:
- main
- pr-test/*

concurrency:
group: deploy
cancel-in-progress: false

jobs:
deploy:
Expand All @@ -21,11 +16,5 @@ jobs:
- 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
uses: DefangLabs/defang-github-action@v1.0.4
15 changes: 2 additions & 13 deletions samples/golang-http-form/.github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
name: deploy
name: Deploy

on:
push:
branches:
- main
- pr-test/*

concurrency:
group: deploy
cancel-in-progress: false

jobs:
deploy:
Expand All @@ -21,11 +16,5 @@ jobs:
- 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
uses: DefangLabs/defang-github-action@v1.0.4
15 changes: 2 additions & 13 deletions samples/golang-http/.github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
name: deploy
name: Deploy

on:
push:
branches:
- main
- pr-test/*

concurrency:
group: deploy
cancel-in-progress: false

jobs:
deploy:
Expand All @@ -21,11 +16,5 @@ jobs:
- 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
uses: DefangLabs/defang-github-action@v1.0.4
15 changes: 2 additions & 13 deletions samples/golang-mongodb-atlas/.github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
name: deploy
name: Deploy

on:
push:
branches:
- main
- pr-test/*

concurrency:
group: deploy
cancel-in-progress: false

jobs:
deploy:
Expand All @@ -21,11 +16,5 @@ jobs:
- 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
uses: DefangLabs/defang-github-action@v1.0.4
Loading