diff --git a/samples/agentic-autogen/.github/workflows/deploy.yaml b/samples/agentic-autogen/.github/workflows/deploy.yaml index c7c2ff00..9234b41d 100644 --- a/samples/agentic-autogen/.github/workflows/deploy.yaml +++ b/samples/agentic-autogen/.github/workflows/deploy.yaml @@ -4,6 +4,10 @@ on: push: branches: - main + paths: + - "**" + - "!.github/workflows/**" + - ".github/workflows/deploy.yaml" jobs: deploy: diff --git a/samples/agentic-autogen/.github/workflows/down.yaml b/samples/agentic-autogen/.github/workflows/down.yaml new file mode 100644 index 00000000..6692cc01 --- /dev/null +++ b/samples/agentic-autogen/.github/workflows/down.yaml @@ -0,0 +1,21 @@ +name: Down + +on: + workflow_dispatch: + +jobs: + down: + environment: production + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + + - name: Down + uses: DefangLabs/defang-github-action@v1.3.2 + with: + command: "down" diff --git a/samples/agentic-langgraph/.github/workflows/deploy.yaml b/samples/agentic-langgraph/.github/workflows/deploy.yaml index 7c2860fe..4c89711a 100644 --- a/samples/agentic-langgraph/.github/workflows/deploy.yaml +++ b/samples/agentic-langgraph/.github/workflows/deploy.yaml @@ -4,6 +4,10 @@ on: push: branches: - main + paths: + - "**" + - "!.github/workflows/**" + - ".github/workflows/deploy.yaml" jobs: deploy: diff --git a/samples/agentic-langgraph/.github/workflows/down.yaml b/samples/agentic-langgraph/.github/workflows/down.yaml new file mode 100644 index 00000000..6692cc01 --- /dev/null +++ b/samples/agentic-langgraph/.github/workflows/down.yaml @@ -0,0 +1,21 @@ +name: Down + +on: + workflow_dispatch: + +jobs: + down: + environment: production + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + + - name: Down + uses: DefangLabs/defang-github-action@v1.3.2 + with: + command: "down" diff --git a/samples/agentic-strands/.github/workflows/deploy.yaml b/samples/agentic-strands/.github/workflows/deploy.yaml index b3d14678..9e428df8 100644 --- a/samples/agentic-strands/.github/workflows/deploy.yaml +++ b/samples/agentic-strands/.github/workflows/deploy.yaml @@ -4,6 +4,10 @@ on: push: branches: - main + paths: + - "**" + - "!.github/workflows/**" + - ".github/workflows/deploy.yaml" jobs: deploy: diff --git a/samples/agentic-strands/.github/workflows/down.yaml b/samples/agentic-strands/.github/workflows/down.yaml new file mode 100644 index 00000000..6692cc01 --- /dev/null +++ b/samples/agentic-strands/.github/workflows/down.yaml @@ -0,0 +1,21 @@ +name: Down + +on: + workflow_dispatch: + +jobs: + down: + environment: production + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + + - name: Down + uses: DefangLabs/defang-github-action@v1.3.2 + with: + command: "down" diff --git a/samples/angular-express/.github/workflows/deploy.yaml b/samples/angular-express/.github/workflows/deploy.yaml index b3d14678..9e428df8 100644 --- a/samples/angular-express/.github/workflows/deploy.yaml +++ b/samples/angular-express/.github/workflows/deploy.yaml @@ -4,6 +4,10 @@ on: push: branches: - main + paths: + - "**" + - "!.github/workflows/**" + - ".github/workflows/deploy.yaml" jobs: deploy: diff --git a/samples/angular-express/.github/workflows/down.yaml b/samples/angular-express/.github/workflows/down.yaml new file mode 100644 index 00000000..6692cc01 --- /dev/null +++ b/samples/angular-express/.github/workflows/down.yaml @@ -0,0 +1,21 @@ +name: Down + +on: + workflow_dispatch: + +jobs: + down: + environment: production + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + + - name: Down + uses: DefangLabs/defang-github-action@v1.3.2 + with: + command: "down" diff --git a/samples/arduino-wifi/.github/workflows/deploy.yaml b/samples/arduino-wifi/.github/workflows/deploy.yaml index b3d14678..9e428df8 100644 --- a/samples/arduino-wifi/.github/workflows/deploy.yaml +++ b/samples/arduino-wifi/.github/workflows/deploy.yaml @@ -4,6 +4,10 @@ on: push: branches: - main + paths: + - "**" + - "!.github/workflows/**" + - ".github/workflows/deploy.yaml" jobs: deploy: diff --git a/samples/arduino-wifi/.github/workflows/down.yaml b/samples/arduino-wifi/.github/workflows/down.yaml new file mode 100644 index 00000000..6692cc01 --- /dev/null +++ b/samples/arduino-wifi/.github/workflows/down.yaml @@ -0,0 +1,21 @@ +name: Down + +on: + workflow_dispatch: + +jobs: + down: + environment: production + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + + - name: Down + uses: DefangLabs/defang-github-action@v1.3.2 + with: + command: "down" diff --git a/samples/bullmq-bullboard-redis/.github/workflows/deploy.yaml b/samples/bullmq-bullboard-redis/.github/workflows/deploy.yaml index b3d14678..9e428df8 100644 --- a/samples/bullmq-bullboard-redis/.github/workflows/deploy.yaml +++ b/samples/bullmq-bullboard-redis/.github/workflows/deploy.yaml @@ -4,6 +4,10 @@ on: push: branches: - main + paths: + - "**" + - "!.github/workflows/**" + - ".github/workflows/deploy.yaml" jobs: deploy: diff --git a/samples/bullmq-bullboard-redis/.github/workflows/down.yaml b/samples/bullmq-bullboard-redis/.github/workflows/down.yaml new file mode 100644 index 00000000..6692cc01 --- /dev/null +++ b/samples/bullmq-bullboard-redis/.github/workflows/down.yaml @@ -0,0 +1,21 @@ +name: Down + +on: + workflow_dispatch: + +jobs: + down: + environment: production + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + + - name: Down + uses: DefangLabs/defang-github-action@v1.3.2 + with: + command: "down" diff --git a/samples/crewai/.github/workflows/deploy.yaml b/samples/crewai/.github/workflows/deploy.yaml index d4f0c5b9..9b71e2ff 100644 --- a/samples/crewai/.github/workflows/deploy.yaml +++ b/samples/crewai/.github/workflows/deploy.yaml @@ -4,6 +4,10 @@ on: push: branches: - main + paths: + - "**" + - "!.github/workflows/**" + - ".github/workflows/deploy.yaml" jobs: deploy: diff --git a/samples/crewai/.github/workflows/down.yaml b/samples/crewai/.github/workflows/down.yaml index b0f09300..6692cc01 100644 --- a/samples/crewai/.github/workflows/down.yaml +++ b/samples/crewai/.github/workflows/down.yaml @@ -4,7 +4,7 @@ on: workflow_dispatch: jobs: - deploy: + down: environment: production runs-on: ubuntu-latest permissions: @@ -15,7 +15,7 @@ jobs: - name: Checkout Repo uses: actions/checkout@v4 - - name: Deploy + - name: Down uses: DefangLabs/defang-github-action@v1.3.2 with: command: "down" diff --git a/samples/csharp-dotnet/.github/workflows/deploy.yaml b/samples/csharp-dotnet/.github/workflows/deploy.yaml index b3d14678..9e428df8 100644 --- a/samples/csharp-dotnet/.github/workflows/deploy.yaml +++ b/samples/csharp-dotnet/.github/workflows/deploy.yaml @@ -4,6 +4,10 @@ on: push: branches: - main + paths: + - "**" + - "!.github/workflows/**" + - ".github/workflows/deploy.yaml" jobs: deploy: diff --git a/samples/csharp-dotnet/.github/workflows/down.yaml b/samples/csharp-dotnet/.github/workflows/down.yaml new file mode 100644 index 00000000..6692cc01 --- /dev/null +++ b/samples/csharp-dotnet/.github/workflows/down.yaml @@ -0,0 +1,21 @@ +name: Down + +on: + workflow_dispatch: + +jobs: + down: + environment: production + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + + - name: Down + uses: DefangLabs/defang-github-action@v1.3.2 + with: + command: "down" diff --git a/samples/django-celery/.github/workflows/deploy.yaml b/samples/django-celery/.github/workflows/deploy.yaml index c6ac88d9..2827211a 100644 --- a/samples/django-celery/.github/workflows/deploy.yaml +++ b/samples/django-celery/.github/workflows/deploy.yaml @@ -4,6 +4,10 @@ on: push: branches: - main + paths: + - "**" + - "!.github/workflows/**" + - ".github/workflows/deploy.yaml" jobs: deploy: diff --git a/samples/django-celery/.github/workflows/down.yaml b/samples/django-celery/.github/workflows/down.yaml new file mode 100644 index 00000000..6692cc01 --- /dev/null +++ b/samples/django-celery/.github/workflows/down.yaml @@ -0,0 +1,21 @@ +name: Down + +on: + workflow_dispatch: + +jobs: + down: + environment: production + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + + - name: Down + uses: DefangLabs/defang-github-action@v1.3.2 + with: + command: "down" diff --git a/samples/django-postgres/.github/workflows/deploy.yaml b/samples/django-postgres/.github/workflows/deploy.yaml index 3f22e5c1..ec9ff6cb 100644 --- a/samples/django-postgres/.github/workflows/deploy.yaml +++ b/samples/django-postgres/.github/workflows/deploy.yaml @@ -4,6 +4,10 @@ on: push: branches: - main + paths: + - "**" + - "!.github/workflows/**" + - ".github/workflows/deploy.yaml" jobs: deploy: diff --git a/samples/django-postgres/.github/workflows/down.yaml b/samples/django-postgres/.github/workflows/down.yaml new file mode 100644 index 00000000..6692cc01 --- /dev/null +++ b/samples/django-postgres/.github/workflows/down.yaml @@ -0,0 +1,21 @@ +name: Down + +on: + workflow_dispatch: + +jobs: + down: + environment: production + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + + - name: Down + uses: DefangLabs/defang-github-action@v1.3.2 + with: + command: "down" diff --git a/samples/django-railpack/.github/workflows/deploy.yaml b/samples/django-railpack/.github/workflows/deploy.yaml index b3d14678..9e428df8 100644 --- a/samples/django-railpack/.github/workflows/deploy.yaml +++ b/samples/django-railpack/.github/workflows/deploy.yaml @@ -4,6 +4,10 @@ on: push: branches: - main + paths: + - "**" + - "!.github/workflows/**" + - ".github/workflows/deploy.yaml" jobs: deploy: diff --git a/samples/django-railpack/.github/workflows/down.yaml b/samples/django-railpack/.github/workflows/down.yaml new file mode 100644 index 00000000..6692cc01 --- /dev/null +++ b/samples/django-railpack/.github/workflows/down.yaml @@ -0,0 +1,21 @@ +name: Down + +on: + workflow_dispatch: + +jobs: + down: + environment: production + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + + - name: Down + uses: DefangLabs/defang-github-action@v1.3.2 + with: + command: "down" diff --git a/samples/django-redis-postgres/.github/workflows/deploy.yaml b/samples/django-redis-postgres/.github/workflows/deploy.yaml index 2befba4a..32945d51 100644 --- a/samples/django-redis-postgres/.github/workflows/deploy.yaml +++ b/samples/django-redis-postgres/.github/workflows/deploy.yaml @@ -4,6 +4,10 @@ on: push: branches: - main + paths: + - "**" + - "!.github/workflows/**" + - ".github/workflows/deploy.yaml" jobs: deploy: diff --git a/samples/django-redis-postgres/.github/workflows/down.yaml b/samples/django-redis-postgres/.github/workflows/down.yaml new file mode 100644 index 00000000..6692cc01 --- /dev/null +++ b/samples/django-redis-postgres/.github/workflows/down.yaml @@ -0,0 +1,21 @@ +name: Down + +on: + workflow_dispatch: + +jobs: + down: + environment: production + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + + - name: Down + uses: DefangLabs/defang-github-action@v1.3.2 + with: + command: "down" diff --git a/samples/django/.github/workflows/deploy.yaml b/samples/django/.github/workflows/deploy.yaml index b3d14678..9e428df8 100644 --- a/samples/django/.github/workflows/deploy.yaml +++ b/samples/django/.github/workflows/deploy.yaml @@ -4,6 +4,10 @@ on: push: branches: - main + paths: + - "**" + - "!.github/workflows/**" + - ".github/workflows/deploy.yaml" jobs: deploy: diff --git a/samples/django/.github/workflows/down.yaml b/samples/django/.github/workflows/down.yaml new file mode 100644 index 00000000..6692cc01 --- /dev/null +++ b/samples/django/.github/workflows/down.yaml @@ -0,0 +1,21 @@ +name: Down + +on: + workflow_dispatch: + +jobs: + down: + environment: production + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + + - name: Down + uses: DefangLabs/defang-github-action@v1.3.2 + with: + command: "down" diff --git a/samples/elysia/.github/workflows/deploy.yaml b/samples/elysia/.github/workflows/deploy.yaml index b3d14678..9e428df8 100644 --- a/samples/elysia/.github/workflows/deploy.yaml +++ b/samples/elysia/.github/workflows/deploy.yaml @@ -4,6 +4,10 @@ on: push: branches: - main + paths: + - "**" + - "!.github/workflows/**" + - ".github/workflows/deploy.yaml" jobs: deploy: diff --git a/samples/elysia/.github/workflows/down.yaml b/samples/elysia/.github/workflows/down.yaml new file mode 100644 index 00000000..6692cc01 --- /dev/null +++ b/samples/elysia/.github/workflows/down.yaml @@ -0,0 +1,21 @@ +name: Down + +on: + workflow_dispatch: + +jobs: + down: + environment: production + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + + - name: Down + uses: DefangLabs/defang-github-action@v1.3.2 + with: + command: "down" diff --git a/samples/fastapi-postgres-pubsub/.github/workflows/deploy.yaml b/samples/fastapi-postgres-pubsub/.github/workflows/deploy.yaml index 68e718c4..3d3735fd 100644 --- a/samples/fastapi-postgres-pubsub/.github/workflows/deploy.yaml +++ b/samples/fastapi-postgres-pubsub/.github/workflows/deploy.yaml @@ -4,6 +4,10 @@ on: push: branches: - main + paths: + - "**" + - "!.github/workflows/**" + - ".github/workflows/deploy.yaml" jobs: deploy: diff --git a/samples/fastapi-postgres-pubsub/.github/workflows/down.yaml b/samples/fastapi-postgres-pubsub/.github/workflows/down.yaml new file mode 100644 index 00000000..6692cc01 --- /dev/null +++ b/samples/fastapi-postgres-pubsub/.github/workflows/down.yaml @@ -0,0 +1,21 @@ +name: Down + +on: + workflow_dispatch: + +jobs: + down: + environment: production + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + + - name: Down + uses: DefangLabs/defang-github-action@v1.3.2 + with: + command: "down" diff --git a/samples/fastapi-postgres/.github/workflows/deploy.yaml b/samples/fastapi-postgres/.github/workflows/deploy.yaml index b3d14678..9e428df8 100644 --- a/samples/fastapi-postgres/.github/workflows/deploy.yaml +++ b/samples/fastapi-postgres/.github/workflows/deploy.yaml @@ -4,6 +4,10 @@ on: push: branches: - main + paths: + - "**" + - "!.github/workflows/**" + - ".github/workflows/deploy.yaml" jobs: deploy: diff --git a/samples/fastapi-postgres/.github/workflows/down.yaml b/samples/fastapi-postgres/.github/workflows/down.yaml new file mode 100644 index 00000000..6692cc01 --- /dev/null +++ b/samples/fastapi-postgres/.github/workflows/down.yaml @@ -0,0 +1,21 @@ +name: Down + +on: + workflow_dispatch: + +jobs: + down: + environment: production + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + + - name: Down + uses: DefangLabs/defang-github-action@v1.3.2 + with: + command: "down" diff --git a/samples/fastapi/.github/workflows/deploy.yaml b/samples/fastapi/.github/workflows/deploy.yaml index b3d14678..9e428df8 100644 --- a/samples/fastapi/.github/workflows/deploy.yaml +++ b/samples/fastapi/.github/workflows/deploy.yaml @@ -4,6 +4,10 @@ on: push: branches: - main + paths: + - "**" + - "!.github/workflows/**" + - ".github/workflows/deploy.yaml" jobs: deploy: diff --git a/samples/fastapi/.github/workflows/down.yaml b/samples/fastapi/.github/workflows/down.yaml new file mode 100644 index 00000000..6692cc01 --- /dev/null +++ b/samples/fastapi/.github/workflows/down.yaml @@ -0,0 +1,21 @@ +name: Down + +on: + workflow_dispatch: + +jobs: + down: + environment: production + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + + - name: Down + uses: DefangLabs/defang-github-action@v1.3.2 + with: + command: "down" diff --git a/samples/feathersjs/.github/workflows/deploy.yaml b/samples/feathersjs/.github/workflows/deploy.yaml index b3d14678..9e428df8 100644 --- a/samples/feathersjs/.github/workflows/deploy.yaml +++ b/samples/feathersjs/.github/workflows/deploy.yaml @@ -4,6 +4,10 @@ on: push: branches: - main + paths: + - "**" + - "!.github/workflows/**" + - ".github/workflows/deploy.yaml" jobs: deploy: diff --git a/samples/feathersjs/.github/workflows/down.yaml b/samples/feathersjs/.github/workflows/down.yaml new file mode 100644 index 00000000..6692cc01 --- /dev/null +++ b/samples/feathersjs/.github/workflows/down.yaml @@ -0,0 +1,21 @@ +name: Down + +on: + workflow_dispatch: + +jobs: + down: + environment: production + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + + - name: Down + uses: DefangLabs/defang-github-action@v1.3.2 + with: + command: "down" diff --git a/samples/flask-railpack/.github/workflows/deploy.yaml b/samples/flask-railpack/.github/workflows/deploy.yaml index b3d14678..9e428df8 100644 --- a/samples/flask-railpack/.github/workflows/deploy.yaml +++ b/samples/flask-railpack/.github/workflows/deploy.yaml @@ -4,6 +4,10 @@ on: push: branches: - main + paths: + - "**" + - "!.github/workflows/**" + - ".github/workflows/deploy.yaml" jobs: deploy: diff --git a/samples/flask-railpack/.github/workflows/down.yaml b/samples/flask-railpack/.github/workflows/down.yaml new file mode 100644 index 00000000..6692cc01 --- /dev/null +++ b/samples/flask-railpack/.github/workflows/down.yaml @@ -0,0 +1,21 @@ +name: Down + +on: + workflow_dispatch: + +jobs: + down: + environment: production + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + + - name: Down + uses: DefangLabs/defang-github-action@v1.3.2 + with: + command: "down" diff --git a/samples/flask/.github/workflows/deploy.yaml b/samples/flask/.github/workflows/deploy.yaml index b3d14678..9e428df8 100644 --- a/samples/flask/.github/workflows/deploy.yaml +++ b/samples/flask/.github/workflows/deploy.yaml @@ -4,6 +4,10 @@ on: push: branches: - main + paths: + - "**" + - "!.github/workflows/**" + - ".github/workflows/deploy.yaml" jobs: deploy: diff --git a/samples/flask/.github/workflows/down.yaml b/samples/flask/.github/workflows/down.yaml new file mode 100644 index 00000000..6692cc01 --- /dev/null +++ b/samples/flask/.github/workflows/down.yaml @@ -0,0 +1,21 @@ +name: Down + +on: + workflow_dispatch: + +jobs: + down: + environment: production + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + + - name: Down + uses: DefangLabs/defang-github-action@v1.3.2 + with: + command: "down" diff --git a/samples/golang-http-form/.github/workflows/deploy.yaml b/samples/golang-http-form/.github/workflows/deploy.yaml index b3d14678..9e428df8 100644 --- a/samples/golang-http-form/.github/workflows/deploy.yaml +++ b/samples/golang-http-form/.github/workflows/deploy.yaml @@ -4,6 +4,10 @@ on: push: branches: - main + paths: + - "**" + - "!.github/workflows/**" + - ".github/workflows/deploy.yaml" jobs: deploy: diff --git a/samples/golang-http-form/.github/workflows/down.yaml b/samples/golang-http-form/.github/workflows/down.yaml new file mode 100644 index 00000000..6692cc01 --- /dev/null +++ b/samples/golang-http-form/.github/workflows/down.yaml @@ -0,0 +1,21 @@ +name: Down + +on: + workflow_dispatch: + +jobs: + down: + environment: production + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + + - name: Down + uses: DefangLabs/defang-github-action@v1.3.2 + with: + command: "down" diff --git a/samples/golang-http/.github/workflows/deploy.yaml b/samples/golang-http/.github/workflows/deploy.yaml index b3d14678..9e428df8 100644 --- a/samples/golang-http/.github/workflows/deploy.yaml +++ b/samples/golang-http/.github/workflows/deploy.yaml @@ -4,6 +4,10 @@ on: push: branches: - main + paths: + - "**" + - "!.github/workflows/**" + - ".github/workflows/deploy.yaml" jobs: deploy: diff --git a/samples/golang-http/.github/workflows/down.yaml b/samples/golang-http/.github/workflows/down.yaml new file mode 100644 index 00000000..6692cc01 --- /dev/null +++ b/samples/golang-http/.github/workflows/down.yaml @@ -0,0 +1,21 @@ +name: Down + +on: + workflow_dispatch: + +jobs: + down: + environment: production + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + + - name: Down + uses: DefangLabs/defang-github-action@v1.3.2 + with: + command: "down" diff --git a/samples/golang-mongodb/.github/workflows/deploy.yaml b/samples/golang-mongodb/.github/workflows/deploy.yaml index b3d14678..9e428df8 100644 --- a/samples/golang-mongodb/.github/workflows/deploy.yaml +++ b/samples/golang-mongodb/.github/workflows/deploy.yaml @@ -4,6 +4,10 @@ on: push: branches: - main + paths: + - "**" + - "!.github/workflows/**" + - ".github/workflows/deploy.yaml" jobs: deploy: diff --git a/samples/golang-mongodb/.github/workflows/down.yaml b/samples/golang-mongodb/.github/workflows/down.yaml new file mode 100644 index 00000000..6692cc01 --- /dev/null +++ b/samples/golang-mongodb/.github/workflows/down.yaml @@ -0,0 +1,21 @@ +name: Down + +on: + workflow_dispatch: + +jobs: + down: + environment: production + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + + - name: Down + uses: DefangLabs/defang-github-action@v1.3.2 + with: + command: "down" diff --git a/samples/golang-openai/.github/workflows/deploy.yaml b/samples/golang-openai/.github/workflows/deploy.yaml index b3d14678..9e428df8 100644 --- a/samples/golang-openai/.github/workflows/deploy.yaml +++ b/samples/golang-openai/.github/workflows/deploy.yaml @@ -4,6 +4,10 @@ on: push: branches: - main + paths: + - "**" + - "!.github/workflows/**" + - ".github/workflows/deploy.yaml" jobs: deploy: diff --git a/samples/golang-openai/.github/workflows/down.yaml b/samples/golang-openai/.github/workflows/down.yaml new file mode 100644 index 00000000..6692cc01 --- /dev/null +++ b/samples/golang-openai/.github/workflows/down.yaml @@ -0,0 +1,21 @@ +name: Down + +on: + workflow_dispatch: + +jobs: + down: + environment: production + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + + - name: Down + uses: DefangLabs/defang-github-action@v1.3.2 + with: + command: "down" diff --git a/samples/golang-railpack/.github/workflows/deploy.yaml b/samples/golang-railpack/.github/workflows/deploy.yaml index b3d14678..9e428df8 100644 --- a/samples/golang-railpack/.github/workflows/deploy.yaml +++ b/samples/golang-railpack/.github/workflows/deploy.yaml @@ -4,6 +4,10 @@ on: push: branches: - main + paths: + - "**" + - "!.github/workflows/**" + - ".github/workflows/deploy.yaml" jobs: deploy: diff --git a/samples/golang-railpack/.github/workflows/down.yaml b/samples/golang-railpack/.github/workflows/down.yaml new file mode 100644 index 00000000..6692cc01 --- /dev/null +++ b/samples/golang-railpack/.github/workflows/down.yaml @@ -0,0 +1,21 @@ +name: Down + +on: + workflow_dispatch: + +jobs: + down: + environment: production + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + + - name: Down + uses: DefangLabs/defang-github-action@v1.3.2 + with: + command: "down" diff --git a/samples/golang-rest-api/.github/workflows/deploy.yaml b/samples/golang-rest-api/.github/workflows/deploy.yaml index b3d14678..9e428df8 100644 --- a/samples/golang-rest-api/.github/workflows/deploy.yaml +++ b/samples/golang-rest-api/.github/workflows/deploy.yaml @@ -4,6 +4,10 @@ on: push: branches: - main + paths: + - "**" + - "!.github/workflows/**" + - ".github/workflows/deploy.yaml" jobs: deploy: diff --git a/samples/golang-rest-api/.github/workflows/down.yaml b/samples/golang-rest-api/.github/workflows/down.yaml new file mode 100644 index 00000000..6692cc01 --- /dev/null +++ b/samples/golang-rest-api/.github/workflows/down.yaml @@ -0,0 +1,21 @@ +name: Down + +on: + workflow_dispatch: + +jobs: + down: + environment: production + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + + - name: Down + uses: DefangLabs/defang-github-action@v1.3.2 + with: + command: "down" diff --git a/samples/golang-s3/.github/workflows/deploy.yaml b/samples/golang-s3/.github/workflows/deploy.yaml index b3d14678..9e428df8 100644 --- a/samples/golang-s3/.github/workflows/deploy.yaml +++ b/samples/golang-s3/.github/workflows/deploy.yaml @@ -4,6 +4,10 @@ on: push: branches: - main + paths: + - "**" + - "!.github/workflows/**" + - ".github/workflows/deploy.yaml" jobs: deploy: diff --git a/samples/golang-s3/.github/workflows/down.yaml b/samples/golang-s3/.github/workflows/down.yaml new file mode 100644 index 00000000..6692cc01 --- /dev/null +++ b/samples/golang-s3/.github/workflows/down.yaml @@ -0,0 +1,21 @@ +name: Down + +on: + workflow_dispatch: + +jobs: + down: + environment: production + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + + - name: Down + uses: DefangLabs/defang-github-action@v1.3.2 + with: + command: "down" diff --git a/samples/golang-slackbot/.github/workflows/deploy.yaml b/samples/golang-slackbot/.github/workflows/deploy.yaml index b3d14678..9e428df8 100644 --- a/samples/golang-slackbot/.github/workflows/deploy.yaml +++ b/samples/golang-slackbot/.github/workflows/deploy.yaml @@ -4,6 +4,10 @@ on: push: branches: - main + paths: + - "**" + - "!.github/workflows/**" + - ".github/workflows/deploy.yaml" jobs: deploy: diff --git a/samples/golang-slackbot/.github/workflows/down.yaml b/samples/golang-slackbot/.github/workflows/down.yaml new file mode 100644 index 00000000..6692cc01 --- /dev/null +++ b/samples/golang-slackbot/.github/workflows/down.yaml @@ -0,0 +1,21 @@ +name: Down + +on: + workflow_dispatch: + +jobs: + down: + environment: production + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + + - name: Down + uses: DefangLabs/defang-github-action@v1.3.2 + with: + command: "down" diff --git a/samples/hasura/.github/workflows/deploy.yaml b/samples/hasura/.github/workflows/deploy.yaml index b3d14678..9e428df8 100644 --- a/samples/hasura/.github/workflows/deploy.yaml +++ b/samples/hasura/.github/workflows/deploy.yaml @@ -4,6 +4,10 @@ on: push: branches: - main + paths: + - "**" + - "!.github/workflows/**" + - ".github/workflows/deploy.yaml" jobs: deploy: diff --git a/samples/hasura/.github/workflows/down.yaml b/samples/hasura/.github/workflows/down.yaml new file mode 100644 index 00000000..6692cc01 --- /dev/null +++ b/samples/hasura/.github/workflows/down.yaml @@ -0,0 +1,21 @@ +name: Down + +on: + workflow_dispatch: + +jobs: + down: + environment: production + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + + - name: Down + uses: DefangLabs/defang-github-action@v1.3.2 + with: + command: "down" diff --git a/samples/html-css-js/.github/workflows/deploy.yaml b/samples/html-css-js/.github/workflows/deploy.yaml index b3d14678..9e428df8 100644 --- a/samples/html-css-js/.github/workflows/deploy.yaml +++ b/samples/html-css-js/.github/workflows/deploy.yaml @@ -4,6 +4,10 @@ on: push: branches: - main + paths: + - "**" + - "!.github/workflows/**" + - ".github/workflows/deploy.yaml" jobs: deploy: diff --git a/samples/html-css-js/.github/workflows/down.yaml b/samples/html-css-js/.github/workflows/down.yaml new file mode 100644 index 00000000..6692cc01 --- /dev/null +++ b/samples/html-css-js/.github/workflows/down.yaml @@ -0,0 +1,21 @@ +name: Down + +on: + workflow_dispatch: + +jobs: + down: + environment: production + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + + - name: Down + uses: DefangLabs/defang-github-action@v1.3.2 + with: + command: "down" diff --git a/samples/huginn/.github/workflows/deploy.yaml b/samples/huginn/.github/workflows/deploy.yaml index b3d14678..9e428df8 100644 --- a/samples/huginn/.github/workflows/deploy.yaml +++ b/samples/huginn/.github/workflows/deploy.yaml @@ -4,6 +4,10 @@ on: push: branches: - main + paths: + - "**" + - "!.github/workflows/**" + - ".github/workflows/deploy.yaml" jobs: deploy: diff --git a/samples/huginn/.github/workflows/down.yaml b/samples/huginn/.github/workflows/down.yaml new file mode 100644 index 00000000..6692cc01 --- /dev/null +++ b/samples/huginn/.github/workflows/down.yaml @@ -0,0 +1,21 @@ +name: Down + +on: + workflow_dispatch: + +jobs: + down: + environment: production + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + + - name: Down + uses: DefangLabs/defang-github-action@v1.3.2 + with: + command: "down" diff --git a/samples/imgproxy/.github/workflows/deploy.yaml b/samples/imgproxy/.github/workflows/deploy.yaml index b3d14678..9e428df8 100644 --- a/samples/imgproxy/.github/workflows/deploy.yaml +++ b/samples/imgproxy/.github/workflows/deploy.yaml @@ -4,6 +4,10 @@ on: push: branches: - main + paths: + - "**" + - "!.github/workflows/**" + - ".github/workflows/deploy.yaml" jobs: deploy: diff --git a/samples/imgproxy/.github/workflows/down.yaml b/samples/imgproxy/.github/workflows/down.yaml new file mode 100644 index 00000000..6692cc01 --- /dev/null +++ b/samples/imgproxy/.github/workflows/down.yaml @@ -0,0 +1,21 @@ +name: Down + +on: + workflow_dispatch: + +jobs: + down: + environment: production + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + + - name: Down + uses: DefangLabs/defang-github-action@v1.3.2 + with: + command: "down" diff --git a/samples/javalin/.github/workflows/deploy.yaml b/samples/javalin/.github/workflows/deploy.yaml index b3d14678..9e428df8 100644 --- a/samples/javalin/.github/workflows/deploy.yaml +++ b/samples/javalin/.github/workflows/deploy.yaml @@ -4,6 +4,10 @@ on: push: branches: - main + paths: + - "**" + - "!.github/workflows/**" + - ".github/workflows/deploy.yaml" jobs: deploy: diff --git a/samples/javalin/.github/workflows/down.yaml b/samples/javalin/.github/workflows/down.yaml new file mode 100644 index 00000000..6692cc01 --- /dev/null +++ b/samples/javalin/.github/workflows/down.yaml @@ -0,0 +1,21 @@ +name: Down + +on: + workflow_dispatch: + +jobs: + down: + environment: production + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + + - name: Down + uses: DefangLabs/defang-github-action@v1.3.2 + with: + command: "down" diff --git a/samples/jupyter-postgres/.github/workflows/deploy.yaml b/samples/jupyter-postgres/.github/workflows/deploy.yaml index 484a3651..013c348f 100644 --- a/samples/jupyter-postgres/.github/workflows/deploy.yaml +++ b/samples/jupyter-postgres/.github/workflows/deploy.yaml @@ -4,6 +4,10 @@ on: push: branches: - main + paths: + - "**" + - "!.github/workflows/**" + - ".github/workflows/deploy.yaml" jobs: deploy: diff --git a/samples/jupyter-postgres/.github/workflows/down.yaml b/samples/jupyter-postgres/.github/workflows/down.yaml new file mode 100644 index 00000000..6692cc01 --- /dev/null +++ b/samples/jupyter-postgres/.github/workflows/down.yaml @@ -0,0 +1,21 @@ +name: Down + +on: + workflow_dispatch: + +jobs: + down: + environment: production + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + + - name: Down + uses: DefangLabs/defang-github-action@v1.3.2 + with: + command: "down" diff --git a/samples/langchain/.github/workflows/deploy.yaml b/samples/langchain/.github/workflows/deploy.yaml index b3d14678..9e428df8 100644 --- a/samples/langchain/.github/workflows/deploy.yaml +++ b/samples/langchain/.github/workflows/deploy.yaml @@ -4,6 +4,10 @@ on: push: branches: - main + paths: + - "**" + - "!.github/workflows/**" + - ".github/workflows/deploy.yaml" jobs: deploy: diff --git a/samples/langchain/.github/workflows/down.yaml b/samples/langchain/.github/workflows/down.yaml new file mode 100644 index 00000000..6692cc01 --- /dev/null +++ b/samples/langchain/.github/workflows/down.yaml @@ -0,0 +1,21 @@ +name: Down + +on: + workflow_dispatch: + +jobs: + down: + environment: production + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + + - name: Down + uses: DefangLabs/defang-github-action@v1.3.2 + with: + command: "down" diff --git a/samples/managed-llm-provider/.github/workflows/deploy.yaml b/samples/managed-llm-provider/.github/workflows/deploy.yaml index b3d14678..9e428df8 100644 --- a/samples/managed-llm-provider/.github/workflows/deploy.yaml +++ b/samples/managed-llm-provider/.github/workflows/deploy.yaml @@ -4,6 +4,10 @@ on: push: branches: - main + paths: + - "**" + - "!.github/workflows/**" + - ".github/workflows/deploy.yaml" jobs: deploy: diff --git a/samples/managed-llm-provider/.github/workflows/down.yaml b/samples/managed-llm-provider/.github/workflows/down.yaml new file mode 100644 index 00000000..6692cc01 --- /dev/null +++ b/samples/managed-llm-provider/.github/workflows/down.yaml @@ -0,0 +1,21 @@ +name: Down + +on: + workflow_dispatch: + +jobs: + down: + environment: production + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + + - name: Down + uses: DefangLabs/defang-github-action@v1.3.2 + with: + command: "down" diff --git a/samples/managed-llm/.github/workflows/deploy.yaml b/samples/managed-llm/.github/workflows/deploy.yaml index f0166831..11d81a3f 100644 --- a/samples/managed-llm/.github/workflows/deploy.yaml +++ b/samples/managed-llm/.github/workflows/deploy.yaml @@ -4,6 +4,10 @@ on: push: branches: - main + paths: + - "**" + - "!.github/workflows/**" + - ".github/workflows/deploy.yaml" jobs: deploy: diff --git a/samples/managed-llm/.github/workflows/down.yaml b/samples/managed-llm/.github/workflows/down.yaml new file mode 100644 index 00000000..6692cc01 --- /dev/null +++ b/samples/managed-llm/.github/workflows/down.yaml @@ -0,0 +1,21 @@ +name: Down + +on: + workflow_dispatch: + +jobs: + down: + environment: production + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + + - name: Down + uses: DefangLabs/defang-github-action@v1.3.2 + with: + command: "down" diff --git a/samples/mastra-nextjs/.github/workflows/deploy.yaml b/samples/mastra-nextjs/.github/workflows/deploy.yaml index a966ac05..f5c570be 100644 --- a/samples/mastra-nextjs/.github/workflows/deploy.yaml +++ b/samples/mastra-nextjs/.github/workflows/deploy.yaml @@ -4,6 +4,10 @@ on: push: branches: - main + paths: + - "**" + - "!.github/workflows/**" + - ".github/workflows/deploy.yaml" jobs: deploy: diff --git a/samples/mastra-nextjs/.github/workflows/down.yaml b/samples/mastra-nextjs/.github/workflows/down.yaml new file mode 100644 index 00000000..6692cc01 --- /dev/null +++ b/samples/mastra-nextjs/.github/workflows/down.yaml @@ -0,0 +1,21 @@ +name: Down + +on: + workflow_dispatch: + +jobs: + down: + environment: production + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + + - name: Down + uses: DefangLabs/defang-github-action@v1.3.2 + with: + command: "down" diff --git a/samples/mcp/.github/workflows/deploy.yaml b/samples/mcp/.github/workflows/deploy.yaml index 20049971..917a859b 100644 --- a/samples/mcp/.github/workflows/deploy.yaml +++ b/samples/mcp/.github/workflows/deploy.yaml @@ -4,6 +4,10 @@ on: push: branches: - main + paths: + - "**" + - "!.github/workflows/**" + - ".github/workflows/deploy.yaml" jobs: deploy: diff --git a/samples/mcp/.github/workflows/down.yaml b/samples/mcp/.github/workflows/down.yaml new file mode 100644 index 00000000..6692cc01 --- /dev/null +++ b/samples/mcp/.github/workflows/down.yaml @@ -0,0 +1,21 @@ +name: Down + +on: + workflow_dispatch: + +jobs: + down: + environment: production + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + + - name: Down + uses: DefangLabs/defang-github-action@v1.3.2 + with: + command: "down" diff --git a/samples/metabase/.github/workflows/deploy.yaml b/samples/metabase/.github/workflows/deploy.yaml index b3d14678..9e428df8 100644 --- a/samples/metabase/.github/workflows/deploy.yaml +++ b/samples/metabase/.github/workflows/deploy.yaml @@ -4,6 +4,10 @@ on: push: branches: - main + paths: + - "**" + - "!.github/workflows/**" + - ".github/workflows/deploy.yaml" jobs: deploy: diff --git a/samples/metabase/.github/workflows/down.yaml b/samples/metabase/.github/workflows/down.yaml new file mode 100644 index 00000000..6692cc01 --- /dev/null +++ b/samples/metabase/.github/workflows/down.yaml @@ -0,0 +1,21 @@ +name: Down + +on: + workflow_dispatch: + +jobs: + down: + environment: production + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + + - name: Down + uses: DefangLabs/defang-github-action@v1.3.2 + with: + command: "down" diff --git a/samples/n8n/.github/workflows/deploy.yaml b/samples/n8n/.github/workflows/deploy.yaml index 26121bd6..04ddc3ab 100644 --- a/samples/n8n/.github/workflows/deploy.yaml +++ b/samples/n8n/.github/workflows/deploy.yaml @@ -4,6 +4,10 @@ on: push: branches: - main + paths: + - "**" + - "!.github/workflows/**" + - ".github/workflows/deploy.yaml" jobs: deploy: diff --git a/samples/n8n/.github/workflows/down.yaml b/samples/n8n/.github/workflows/down.yaml new file mode 100644 index 00000000..6692cc01 --- /dev/null +++ b/samples/n8n/.github/workflows/down.yaml @@ -0,0 +1,21 @@ +name: Down + +on: + workflow_dispatch: + +jobs: + down: + environment: production + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + + - name: Down + uses: DefangLabs/defang-github-action@v1.3.2 + with: + command: "down" diff --git a/samples/nextjs-blog/.github/workflows/deploy.yaml b/samples/nextjs-blog/.github/workflows/deploy.yaml index b3d14678..9e428df8 100644 --- a/samples/nextjs-blog/.github/workflows/deploy.yaml +++ b/samples/nextjs-blog/.github/workflows/deploy.yaml @@ -4,6 +4,10 @@ on: push: branches: - main + paths: + - "**" + - "!.github/workflows/**" + - ".github/workflows/deploy.yaml" jobs: deploy: diff --git a/samples/nextjs-blog/.github/workflows/down.yaml b/samples/nextjs-blog/.github/workflows/down.yaml new file mode 100644 index 00000000..6692cc01 --- /dev/null +++ b/samples/nextjs-blog/.github/workflows/down.yaml @@ -0,0 +1,21 @@ +name: Down + +on: + workflow_dispatch: + +jobs: + down: + environment: production + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + + - name: Down + uses: DefangLabs/defang-github-action@v1.3.2 + with: + command: "down" diff --git a/samples/nextjs-claude/.github/workflows/deploy.yaml b/samples/nextjs-claude/.github/workflows/deploy.yaml index 20049971..917a859b 100644 --- a/samples/nextjs-claude/.github/workflows/deploy.yaml +++ b/samples/nextjs-claude/.github/workflows/deploy.yaml @@ -4,6 +4,10 @@ on: push: branches: - main + paths: + - "**" + - "!.github/workflows/**" + - ".github/workflows/deploy.yaml" jobs: deploy: diff --git a/samples/nextjs-claude/.github/workflows/down.yaml b/samples/nextjs-claude/.github/workflows/down.yaml new file mode 100644 index 00000000..6692cc01 --- /dev/null +++ b/samples/nextjs-claude/.github/workflows/down.yaml @@ -0,0 +1,21 @@ +name: Down + +on: + workflow_dispatch: + +jobs: + down: + environment: production + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + + - name: Down + uses: DefangLabs/defang-github-action@v1.3.2 + with: + command: "down" diff --git a/samples/nextjs-cv/.github/workflows/deploy.yaml b/samples/nextjs-cv/.github/workflows/deploy.yaml index b3d14678..9e428df8 100644 --- a/samples/nextjs-cv/.github/workflows/deploy.yaml +++ b/samples/nextjs-cv/.github/workflows/deploy.yaml @@ -4,6 +4,10 @@ on: push: branches: - main + paths: + - "**" + - "!.github/workflows/**" + - ".github/workflows/deploy.yaml" jobs: deploy: diff --git a/samples/nextjs-cv/.github/workflows/down.yaml b/samples/nextjs-cv/.github/workflows/down.yaml new file mode 100644 index 00000000..6692cc01 --- /dev/null +++ b/samples/nextjs-cv/.github/workflows/down.yaml @@ -0,0 +1,21 @@ +name: Down + +on: + workflow_dispatch: + +jobs: + down: + environment: production + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + + - name: Down + uses: DefangLabs/defang-github-action@v1.3.2 + with: + command: "down" diff --git a/samples/nextjs-documentation/.github/workflows/deploy.yaml b/samples/nextjs-documentation/.github/workflows/deploy.yaml index b3d14678..9e428df8 100644 --- a/samples/nextjs-documentation/.github/workflows/deploy.yaml +++ b/samples/nextjs-documentation/.github/workflows/deploy.yaml @@ -4,6 +4,10 @@ on: push: branches: - main + paths: + - "**" + - "!.github/workflows/**" + - ".github/workflows/deploy.yaml" jobs: deploy: diff --git a/samples/nextjs-documentation/.github/workflows/down.yaml b/samples/nextjs-documentation/.github/workflows/down.yaml new file mode 100644 index 00000000..6692cc01 --- /dev/null +++ b/samples/nextjs-documentation/.github/workflows/down.yaml @@ -0,0 +1,21 @@ +name: Down + +on: + workflow_dispatch: + +jobs: + down: + environment: production + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + + - name: Down + uses: DefangLabs/defang-github-action@v1.3.2 + with: + command: "down" diff --git a/samples/nextjs-postgres/.github/workflows/deploy.yaml b/samples/nextjs-postgres/.github/workflows/deploy.yaml index 936f784c..bf83ef9e 100644 --- a/samples/nextjs-postgres/.github/workflows/deploy.yaml +++ b/samples/nextjs-postgres/.github/workflows/deploy.yaml @@ -4,6 +4,10 @@ on: push: branches: - main + paths: + - "**" + - "!.github/workflows/**" + - ".github/workflows/deploy.yaml" jobs: deploy: diff --git a/samples/nextjs-postgres/.github/workflows/down.yaml b/samples/nextjs-postgres/.github/workflows/down.yaml new file mode 100644 index 00000000..6692cc01 --- /dev/null +++ b/samples/nextjs-postgres/.github/workflows/down.yaml @@ -0,0 +1,21 @@ +name: Down + +on: + workflow_dispatch: + +jobs: + down: + environment: production + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + + - name: Down + uses: DefangLabs/defang-github-action@v1.3.2 + with: + command: "down" diff --git a/samples/nextjs-railpack/.github/workflows/deploy.yaml b/samples/nextjs-railpack/.github/workflows/deploy.yaml index b3d14678..9e428df8 100644 --- a/samples/nextjs-railpack/.github/workflows/deploy.yaml +++ b/samples/nextjs-railpack/.github/workflows/deploy.yaml @@ -4,6 +4,10 @@ on: push: branches: - main + paths: + - "**" + - "!.github/workflows/**" + - ".github/workflows/deploy.yaml" jobs: deploy: diff --git a/samples/nextjs-railpack/.github/workflows/down.yaml b/samples/nextjs-railpack/.github/workflows/down.yaml new file mode 100644 index 00000000..6692cc01 --- /dev/null +++ b/samples/nextjs-railpack/.github/workflows/down.yaml @@ -0,0 +1,21 @@ +name: Down + +on: + workflow_dispatch: + +jobs: + down: + environment: production + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + + - name: Down + uses: DefangLabs/defang-github-action@v1.3.2 + with: + command: "down" diff --git a/samples/nextjs/.github/workflows/deploy.yaml b/samples/nextjs/.github/workflows/deploy.yaml index b3d14678..9e428df8 100644 --- a/samples/nextjs/.github/workflows/deploy.yaml +++ b/samples/nextjs/.github/workflows/deploy.yaml @@ -4,6 +4,10 @@ on: push: branches: - main + paths: + - "**" + - "!.github/workflows/**" + - ".github/workflows/deploy.yaml" jobs: deploy: diff --git a/samples/nextjs/.github/workflows/down.yaml b/samples/nextjs/.github/workflows/down.yaml new file mode 100644 index 00000000..6692cc01 --- /dev/null +++ b/samples/nextjs/.github/workflows/down.yaml @@ -0,0 +1,21 @@ +name: Down + +on: + workflow_dispatch: + +jobs: + down: + environment: production + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + + - name: Down + uses: DefangLabs/defang-github-action@v1.3.2 + with: + command: "down" diff --git a/samples/nocodb/.github/workflows/deploy.yaml b/samples/nocodb/.github/workflows/deploy.yaml index 602c143a..2b25bfa7 100644 --- a/samples/nocodb/.github/workflows/deploy.yaml +++ b/samples/nocodb/.github/workflows/deploy.yaml @@ -4,6 +4,10 @@ on: push: branches: - main + paths: + - "**" + - "!.github/workflows/**" + - ".github/workflows/deploy.yaml" jobs: deploy: diff --git a/samples/nocodb/.github/workflows/down.yaml b/samples/nocodb/.github/workflows/down.yaml new file mode 100644 index 00000000..6692cc01 --- /dev/null +++ b/samples/nocodb/.github/workflows/down.yaml @@ -0,0 +1,21 @@ +name: Down + +on: + workflow_dispatch: + +jobs: + down: + environment: production + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + + - name: Down + uses: DefangLabs/defang-github-action@v1.3.2 + with: + command: "down" diff --git a/samples/nodejs-chatroom/.github/workflows/deploy.yaml b/samples/nodejs-chatroom/.github/workflows/deploy.yaml index b3d14678..9e428df8 100644 --- a/samples/nodejs-chatroom/.github/workflows/deploy.yaml +++ b/samples/nodejs-chatroom/.github/workflows/deploy.yaml @@ -4,6 +4,10 @@ on: push: branches: - main + paths: + - "**" + - "!.github/workflows/**" + - ".github/workflows/deploy.yaml" jobs: deploy: diff --git a/samples/nodejs-chatroom/.github/workflows/down.yaml b/samples/nodejs-chatroom/.github/workflows/down.yaml new file mode 100644 index 00000000..6692cc01 --- /dev/null +++ b/samples/nodejs-chatroom/.github/workflows/down.yaml @@ -0,0 +1,21 @@ +name: Down + +on: + workflow_dispatch: + +jobs: + down: + environment: production + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + + - name: Down + uses: DefangLabs/defang-github-action@v1.3.2 + with: + command: "down" diff --git a/samples/nodejs-express/.github/workflows/deploy.yaml b/samples/nodejs-express/.github/workflows/deploy.yaml index b3d14678..9e428df8 100644 --- a/samples/nodejs-express/.github/workflows/deploy.yaml +++ b/samples/nodejs-express/.github/workflows/deploy.yaml @@ -4,6 +4,10 @@ on: push: branches: - main + paths: + - "**" + - "!.github/workflows/**" + - ".github/workflows/deploy.yaml" jobs: deploy: diff --git a/samples/nodejs-express/.github/workflows/down.yaml b/samples/nodejs-express/.github/workflows/down.yaml new file mode 100644 index 00000000..6692cc01 --- /dev/null +++ b/samples/nodejs-express/.github/workflows/down.yaml @@ -0,0 +1,21 @@ +name: Down + +on: + workflow_dispatch: + +jobs: + down: + environment: production + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + + - name: Down + uses: DefangLabs/defang-github-action@v1.3.2 + with: + command: "down" diff --git a/samples/nodejs-form/.github/workflows/deploy.yaml b/samples/nodejs-form/.github/workflows/deploy.yaml index b3d14678..9e428df8 100644 --- a/samples/nodejs-form/.github/workflows/deploy.yaml +++ b/samples/nodejs-form/.github/workflows/deploy.yaml @@ -4,6 +4,10 @@ on: push: branches: - main + paths: + - "**" + - "!.github/workflows/**" + - ".github/workflows/deploy.yaml" jobs: deploy: diff --git a/samples/nodejs-form/.github/workflows/down.yaml b/samples/nodejs-form/.github/workflows/down.yaml new file mode 100644 index 00000000..6692cc01 --- /dev/null +++ b/samples/nodejs-form/.github/workflows/down.yaml @@ -0,0 +1,21 @@ +name: Down + +on: + workflow_dispatch: + +jobs: + down: + environment: production + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + + - name: Down + uses: DefangLabs/defang-github-action@v1.3.2 + with: + command: "down" diff --git a/samples/nodejs-http/.github/workflows/deploy.yaml b/samples/nodejs-http/.github/workflows/deploy.yaml index b3d14678..9e428df8 100644 --- a/samples/nodejs-http/.github/workflows/deploy.yaml +++ b/samples/nodejs-http/.github/workflows/deploy.yaml @@ -4,6 +4,10 @@ on: push: branches: - main + paths: + - "**" + - "!.github/workflows/**" + - ".github/workflows/deploy.yaml" jobs: deploy: diff --git a/samples/nodejs-http/.github/workflows/down.yaml b/samples/nodejs-http/.github/workflows/down.yaml new file mode 100644 index 00000000..6692cc01 --- /dev/null +++ b/samples/nodejs-http/.github/workflows/down.yaml @@ -0,0 +1,21 @@ +name: Down + +on: + workflow_dispatch: + +jobs: + down: + environment: production + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + + - name: Down + uses: DefangLabs/defang-github-action@v1.3.2 + with: + command: "down" diff --git a/samples/nodejs-openai/.github/workflows/deploy.yaml b/samples/nodejs-openai/.github/workflows/deploy.yaml index b3d14678..9e428df8 100644 --- a/samples/nodejs-openai/.github/workflows/deploy.yaml +++ b/samples/nodejs-openai/.github/workflows/deploy.yaml @@ -4,6 +4,10 @@ on: push: branches: - main + paths: + - "**" + - "!.github/workflows/**" + - ".github/workflows/deploy.yaml" jobs: deploy: diff --git a/samples/nodejs-openai/.github/workflows/down.yaml b/samples/nodejs-openai/.github/workflows/down.yaml new file mode 100644 index 00000000..6692cc01 --- /dev/null +++ b/samples/nodejs-openai/.github/workflows/down.yaml @@ -0,0 +1,21 @@ +name: Down + +on: + workflow_dispatch: + +jobs: + down: + environment: production + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + + - name: Down + uses: DefangLabs/defang-github-action@v1.3.2 + with: + command: "down" diff --git a/samples/nodejs-react-postgres/.github/workflows/deploy.yaml b/samples/nodejs-react-postgres/.github/workflows/deploy.yaml index b3d14678..9e428df8 100644 --- a/samples/nodejs-react-postgres/.github/workflows/deploy.yaml +++ b/samples/nodejs-react-postgres/.github/workflows/deploy.yaml @@ -4,6 +4,10 @@ on: push: branches: - main + paths: + - "**" + - "!.github/workflows/**" + - ".github/workflows/deploy.yaml" jobs: deploy: diff --git a/samples/nodejs-react-postgres/.github/workflows/down.yaml b/samples/nodejs-react-postgres/.github/workflows/down.yaml new file mode 100644 index 00000000..6692cc01 --- /dev/null +++ b/samples/nodejs-react-postgres/.github/workflows/down.yaml @@ -0,0 +1,21 @@ +name: Down + +on: + workflow_dispatch: + +jobs: + down: + environment: production + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + + - name: Down + uses: DefangLabs/defang-github-action@v1.3.2 + with: + command: "down" diff --git a/samples/nodejs-rest-api/.github/workflows/deploy.yaml b/samples/nodejs-rest-api/.github/workflows/deploy.yaml index b3d14678..9e428df8 100644 --- a/samples/nodejs-rest-api/.github/workflows/deploy.yaml +++ b/samples/nodejs-rest-api/.github/workflows/deploy.yaml @@ -4,6 +4,10 @@ on: push: branches: - main + paths: + - "**" + - "!.github/workflows/**" + - ".github/workflows/deploy.yaml" jobs: deploy: diff --git a/samples/nodejs-rest-api/.github/workflows/down.yaml b/samples/nodejs-rest-api/.github/workflows/down.yaml new file mode 100644 index 00000000..6692cc01 --- /dev/null +++ b/samples/nodejs-rest-api/.github/workflows/down.yaml @@ -0,0 +1,21 @@ +name: Down + +on: + workflow_dispatch: + +jobs: + down: + environment: production + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + + - name: Down + uses: DefangLabs/defang-github-action@v1.3.2 + with: + command: "down" diff --git a/samples/nodejs-s3/.github/workflows/deploy.yaml b/samples/nodejs-s3/.github/workflows/deploy.yaml index b3d14678..9e428df8 100644 --- a/samples/nodejs-s3/.github/workflows/deploy.yaml +++ b/samples/nodejs-s3/.github/workflows/deploy.yaml @@ -4,6 +4,10 @@ on: push: branches: - main + paths: + - "**" + - "!.github/workflows/**" + - ".github/workflows/deploy.yaml" jobs: deploy: diff --git a/samples/nodejs-s3/.github/workflows/down.yaml b/samples/nodejs-s3/.github/workflows/down.yaml new file mode 100644 index 00000000..6692cc01 --- /dev/null +++ b/samples/nodejs-s3/.github/workflows/down.yaml @@ -0,0 +1,21 @@ +name: Down + +on: + workflow_dispatch: + +jobs: + down: + environment: production + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + + - name: Down + uses: DefangLabs/defang-github-action@v1.3.2 + with: + command: "down" diff --git a/samples/nounly/.github/workflows/deploy.yaml b/samples/nounly/.github/workflows/deploy.yaml index 4e45ea9f..1e36d6bb 100644 --- a/samples/nounly/.github/workflows/deploy.yaml +++ b/samples/nounly/.github/workflows/deploy.yaml @@ -4,6 +4,10 @@ on: push: branches: - main + paths: + - "**" + - "!.github/workflows/**" + - ".github/workflows/deploy.yaml" jobs: deploy: diff --git a/samples/nounly/.github/workflows/down.yaml b/samples/nounly/.github/workflows/down.yaml new file mode 100644 index 00000000..6692cc01 --- /dev/null +++ b/samples/nounly/.github/workflows/down.yaml @@ -0,0 +1,21 @@ +name: Down + +on: + workflow_dispatch: + +jobs: + down: + environment: production + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + + - name: Down + uses: DefangLabs/defang-github-action@v1.3.2 + with: + command: "down" diff --git a/samples/ollama/.github/workflows/deploy.yaml b/samples/ollama/.github/workflows/deploy.yaml index b3d14678..9e428df8 100644 --- a/samples/ollama/.github/workflows/deploy.yaml +++ b/samples/ollama/.github/workflows/deploy.yaml @@ -4,6 +4,10 @@ on: push: branches: - main + paths: + - "**" + - "!.github/workflows/**" + - ".github/workflows/deploy.yaml" jobs: deploy: diff --git a/samples/ollama/.github/workflows/down.yaml b/samples/ollama/.github/workflows/down.yaml new file mode 100644 index 00000000..6692cc01 --- /dev/null +++ b/samples/ollama/.github/workflows/down.yaml @@ -0,0 +1,21 @@ +name: Down + +on: + workflow_dispatch: + +jobs: + down: + environment: production + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + + - name: Down + uses: DefangLabs/defang-github-action@v1.3.2 + with: + command: "down" diff --git a/samples/phoenix-postgres/.github/workflows/deploy.yaml b/samples/phoenix-postgres/.github/workflows/deploy.yaml index b3d14678..9e428df8 100644 --- a/samples/phoenix-postgres/.github/workflows/deploy.yaml +++ b/samples/phoenix-postgres/.github/workflows/deploy.yaml @@ -4,6 +4,10 @@ on: push: branches: - main + paths: + - "**" + - "!.github/workflows/**" + - ".github/workflows/deploy.yaml" jobs: deploy: diff --git a/samples/phoenix-postgres/.github/workflows/down.yaml b/samples/phoenix-postgres/.github/workflows/down.yaml new file mode 100644 index 00000000..6692cc01 --- /dev/null +++ b/samples/phoenix-postgres/.github/workflows/down.yaml @@ -0,0 +1,21 @@ +name: Down + +on: + workflow_dispatch: + +jobs: + down: + environment: production + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + + - name: Down + uses: DefangLabs/defang-github-action@v1.3.2 + with: + command: "down" diff --git a/samples/platformatic/.github/workflows/deploy.yaml b/samples/platformatic/.github/workflows/deploy.yaml index 326b10d9..191b8f9e 100644 --- a/samples/platformatic/.github/workflows/deploy.yaml +++ b/samples/platformatic/.github/workflows/deploy.yaml @@ -4,6 +4,10 @@ on: push: branches: - main + paths: + - "**" + - "!.github/workflows/**" + - ".github/workflows/deploy.yaml" jobs: deploy: diff --git a/samples/platformatic/.github/workflows/down.yaml b/samples/platformatic/.github/workflows/down.yaml new file mode 100644 index 00000000..6692cc01 --- /dev/null +++ b/samples/platformatic/.github/workflows/down.yaml @@ -0,0 +1,21 @@ +name: Down + +on: + workflow_dispatch: + +jobs: + down: + environment: production + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + + - name: Down + uses: DefangLabs/defang-github-action@v1.3.2 + with: + command: "down" diff --git a/samples/python-form/.github/workflows/deploy.yaml b/samples/python-form/.github/workflows/deploy.yaml index b3d14678..9e428df8 100644 --- a/samples/python-form/.github/workflows/deploy.yaml +++ b/samples/python-form/.github/workflows/deploy.yaml @@ -4,6 +4,10 @@ on: push: branches: - main + paths: + - "**" + - "!.github/workflows/**" + - ".github/workflows/deploy.yaml" jobs: deploy: diff --git a/samples/python-form/.github/workflows/down.yaml b/samples/python-form/.github/workflows/down.yaml new file mode 100644 index 00000000..6692cc01 --- /dev/null +++ b/samples/python-form/.github/workflows/down.yaml @@ -0,0 +1,21 @@ +name: Down + +on: + workflow_dispatch: + +jobs: + down: + environment: production + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + + - name: Down + uses: DefangLabs/defang-github-action@v1.3.2 + with: + command: "down" diff --git a/samples/python-implicit-gpu/.github/workflows/deploy.yaml b/samples/python-implicit-gpu/.github/workflows/deploy.yaml index b3d14678..9e428df8 100644 --- a/samples/python-implicit-gpu/.github/workflows/deploy.yaml +++ b/samples/python-implicit-gpu/.github/workflows/deploy.yaml @@ -4,6 +4,10 @@ on: push: branches: - main + paths: + - "**" + - "!.github/workflows/**" + - ".github/workflows/deploy.yaml" jobs: deploy: diff --git a/samples/python-implicit-gpu/.github/workflows/down.yaml b/samples/python-implicit-gpu/.github/workflows/down.yaml new file mode 100644 index 00000000..6692cc01 --- /dev/null +++ b/samples/python-implicit-gpu/.github/workflows/down.yaml @@ -0,0 +1,21 @@ +name: Down + +on: + workflow_dispatch: + +jobs: + down: + environment: production + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + + - name: Down + uses: DefangLabs/defang-github-action@v1.3.2 + with: + command: "down" diff --git a/samples/python-minimal/.github/workflows/deploy.yaml b/samples/python-minimal/.github/workflows/deploy.yaml index b3d14678..9e428df8 100644 --- a/samples/python-minimal/.github/workflows/deploy.yaml +++ b/samples/python-minimal/.github/workflows/deploy.yaml @@ -4,6 +4,10 @@ on: push: branches: - main + paths: + - "**" + - "!.github/workflows/**" + - ".github/workflows/deploy.yaml" jobs: deploy: diff --git a/samples/python-minimal/.github/workflows/down.yaml b/samples/python-minimal/.github/workflows/down.yaml new file mode 100644 index 00000000..6692cc01 --- /dev/null +++ b/samples/python-minimal/.github/workflows/down.yaml @@ -0,0 +1,21 @@ +name: Down + +on: + workflow_dispatch: + +jobs: + down: + environment: production + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + + - name: Down + uses: DefangLabs/defang-github-action@v1.3.2 + with: + command: "down" diff --git a/samples/python-openai/.github/workflows/deploy.yaml b/samples/python-openai/.github/workflows/deploy.yaml index b3d14678..9e428df8 100644 --- a/samples/python-openai/.github/workflows/deploy.yaml +++ b/samples/python-openai/.github/workflows/deploy.yaml @@ -4,6 +4,10 @@ on: push: branches: - main + paths: + - "**" + - "!.github/workflows/**" + - ".github/workflows/deploy.yaml" jobs: deploy: diff --git a/samples/python-openai/.github/workflows/down.yaml b/samples/python-openai/.github/workflows/down.yaml new file mode 100644 index 00000000..6692cc01 --- /dev/null +++ b/samples/python-openai/.github/workflows/down.yaml @@ -0,0 +1,21 @@ +name: Down + +on: + workflow_dispatch: + +jobs: + down: + environment: production + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + + - name: Down + uses: DefangLabs/defang-github-action@v1.3.2 + with: + command: "down" diff --git a/samples/python-rest-api/.github/workflows/deploy.yaml b/samples/python-rest-api/.github/workflows/deploy.yaml index b3d14678..9e428df8 100644 --- a/samples/python-rest-api/.github/workflows/deploy.yaml +++ b/samples/python-rest-api/.github/workflows/deploy.yaml @@ -4,6 +4,10 @@ on: push: branches: - main + paths: + - "**" + - "!.github/workflows/**" + - ".github/workflows/deploy.yaml" jobs: deploy: diff --git a/samples/python-rest-api/.github/workflows/down.yaml b/samples/python-rest-api/.github/workflows/down.yaml new file mode 100644 index 00000000..6692cc01 --- /dev/null +++ b/samples/python-rest-api/.github/workflows/down.yaml @@ -0,0 +1,21 @@ +name: Down + +on: + workflow_dispatch: + +jobs: + down: + environment: production + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + + - name: Down + uses: DefangLabs/defang-github-action@v1.3.2 + with: + command: "down" diff --git a/samples/python-s3/.github/workflows/deploy.yaml b/samples/python-s3/.github/workflows/deploy.yaml index b3d14678..9e428df8 100644 --- a/samples/python-s3/.github/workflows/deploy.yaml +++ b/samples/python-s3/.github/workflows/deploy.yaml @@ -4,6 +4,10 @@ on: push: branches: - main + paths: + - "**" + - "!.github/workflows/**" + - ".github/workflows/deploy.yaml" jobs: deploy: diff --git a/samples/python-s3/.github/workflows/down.yaml b/samples/python-s3/.github/workflows/down.yaml new file mode 100644 index 00000000..6692cc01 --- /dev/null +++ b/samples/python-s3/.github/workflows/down.yaml @@ -0,0 +1,21 @@ +name: Down + +on: + workflow_dispatch: + +jobs: + down: + environment: production + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + + - name: Down + uses: DefangLabs/defang-github-action@v1.3.2 + with: + command: "down" diff --git a/samples/rails/.github/workflows/deploy.yaml b/samples/rails/.github/workflows/deploy.yaml index f6dcdc01..faed5428 100644 --- a/samples/rails/.github/workflows/deploy.yaml +++ b/samples/rails/.github/workflows/deploy.yaml @@ -4,6 +4,10 @@ on: push: branches: - main + paths: + - "**" + - "!.github/workflows/**" + - ".github/workflows/deploy.yaml" jobs: deploy: diff --git a/samples/rails/.github/workflows/down.yaml b/samples/rails/.github/workflows/down.yaml new file mode 100644 index 00000000..6692cc01 --- /dev/null +++ b/samples/rails/.github/workflows/down.yaml @@ -0,0 +1,21 @@ +name: Down + +on: + workflow_dispatch: + +jobs: + down: + environment: production + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + + - name: Down + uses: DefangLabs/defang-github-action@v1.3.2 + with: + command: "down" diff --git a/samples/react-vite-railpack/.github/workflows/deploy.yaml b/samples/react-vite-railpack/.github/workflows/deploy.yaml index 179979b8..3dbd9401 100644 --- a/samples/react-vite-railpack/.github/workflows/deploy.yaml +++ b/samples/react-vite-railpack/.github/workflows/deploy.yaml @@ -4,6 +4,10 @@ on: push: branches: - main + paths: + - "**" + - "!.github/workflows/**" + - ".github/workflows/deploy.yaml" jobs: deploy: diff --git a/samples/react-vite-railpack/.github/workflows/down.yaml b/samples/react-vite-railpack/.github/workflows/down.yaml new file mode 100644 index 00000000..6692cc01 --- /dev/null +++ b/samples/react-vite-railpack/.github/workflows/down.yaml @@ -0,0 +1,21 @@ +name: Down + +on: + workflow_dispatch: + +jobs: + down: + environment: production + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + + - name: Down + uses: DefangLabs/defang-github-action@v1.3.2 + with: + command: "down" diff --git a/samples/react/.github/workflows/deploy.yaml b/samples/react/.github/workflows/deploy.yaml index 179979b8..3dbd9401 100644 --- a/samples/react/.github/workflows/deploy.yaml +++ b/samples/react/.github/workflows/deploy.yaml @@ -4,6 +4,10 @@ on: push: branches: - main + paths: + - "**" + - "!.github/workflows/**" + - ".github/workflows/deploy.yaml" jobs: deploy: diff --git a/samples/react/.github/workflows/down.yaml b/samples/react/.github/workflows/down.yaml new file mode 100644 index 00000000..6692cc01 --- /dev/null +++ b/samples/react/.github/workflows/down.yaml @@ -0,0 +1,21 @@ +name: Down + +on: + workflow_dispatch: + +jobs: + down: + environment: production + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + + - name: Down + uses: DefangLabs/defang-github-action@v1.3.2 + with: + command: "down" diff --git a/samples/redis-js/.github/workflows/deploy.yaml b/samples/redis-js/.github/workflows/deploy.yaml index b3d14678..9e428df8 100644 --- a/samples/redis-js/.github/workflows/deploy.yaml +++ b/samples/redis-js/.github/workflows/deploy.yaml @@ -4,6 +4,10 @@ on: push: branches: - main + paths: + - "**" + - "!.github/workflows/**" + - ".github/workflows/deploy.yaml" jobs: deploy: diff --git a/samples/redis-js/.github/workflows/down.yaml b/samples/redis-js/.github/workflows/down.yaml new file mode 100644 index 00000000..6692cc01 --- /dev/null +++ b/samples/redis-js/.github/workflows/down.yaml @@ -0,0 +1,21 @@ +name: Down + +on: + workflow_dispatch: + +jobs: + down: + environment: production + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + + - name: Down + uses: DefangLabs/defang-github-action@v1.3.2 + with: + command: "down" diff --git a/samples/rocket/.github/workflows/deploy.yaml b/samples/rocket/.github/workflows/deploy.yaml index b3d14678..9e428df8 100644 --- a/samples/rocket/.github/workflows/deploy.yaml +++ b/samples/rocket/.github/workflows/deploy.yaml @@ -4,6 +4,10 @@ on: push: branches: - main + paths: + - "**" + - "!.github/workflows/**" + - ".github/workflows/deploy.yaml" jobs: deploy: diff --git a/samples/rocket/.github/workflows/down.yaml b/samples/rocket/.github/workflows/down.yaml new file mode 100644 index 00000000..6692cc01 --- /dev/null +++ b/samples/rocket/.github/workflows/down.yaml @@ -0,0 +1,21 @@ +name: Down + +on: + workflow_dispatch: + +jobs: + down: + environment: production + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + + - name: Down + uses: DefangLabs/defang-github-action@v1.3.2 + with: + command: "down" diff --git a/samples/sailsjs-postgres/.github/workflows/deploy.yaml b/samples/sailsjs-postgres/.github/workflows/deploy.yaml index b3d14678..9e428df8 100644 --- a/samples/sailsjs-postgres/.github/workflows/deploy.yaml +++ b/samples/sailsjs-postgres/.github/workflows/deploy.yaml @@ -4,6 +4,10 @@ on: push: branches: - main + paths: + - "**" + - "!.github/workflows/**" + - ".github/workflows/deploy.yaml" jobs: deploy: diff --git a/samples/sailsjs-postgres/.github/workflows/down.yaml b/samples/sailsjs-postgres/.github/workflows/down.yaml new file mode 100644 index 00000000..6692cc01 --- /dev/null +++ b/samples/sailsjs-postgres/.github/workflows/down.yaml @@ -0,0 +1,21 @@ +name: Down + +on: + workflow_dispatch: + +jobs: + down: + environment: production + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + + - name: Down + uses: DefangLabs/defang-github-action@v1.3.2 + with: + command: "down" diff --git a/samples/sailsjs/.github/workflows/deploy.yaml b/samples/sailsjs/.github/workflows/deploy.yaml index b3d14678..9e428df8 100644 --- a/samples/sailsjs/.github/workflows/deploy.yaml +++ b/samples/sailsjs/.github/workflows/deploy.yaml @@ -4,6 +4,10 @@ on: push: branches: - main + paths: + - "**" + - "!.github/workflows/**" + - ".github/workflows/deploy.yaml" jobs: deploy: diff --git a/samples/sailsjs/.github/workflows/down.yaml b/samples/sailsjs/.github/workflows/down.yaml new file mode 100644 index 00000000..6692cc01 --- /dev/null +++ b/samples/sailsjs/.github/workflows/down.yaml @@ -0,0 +1,21 @@ +name: Down + +on: + workflow_dispatch: + +jobs: + down: + environment: production + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + + - name: Down + uses: DefangLabs/defang-github-action@v1.3.2 + with: + command: "down" diff --git a/samples/svelte-mysql/.github/workflows/deploy.yaml b/samples/svelte-mysql/.github/workflows/deploy.yaml index b3d14678..9e428df8 100644 --- a/samples/svelte-mysql/.github/workflows/deploy.yaml +++ b/samples/svelte-mysql/.github/workflows/deploy.yaml @@ -4,6 +4,10 @@ on: push: branches: - main + paths: + - "**" + - "!.github/workflows/**" + - ".github/workflows/deploy.yaml" jobs: deploy: diff --git a/samples/svelte-mysql/.github/workflows/down.yaml b/samples/svelte-mysql/.github/workflows/down.yaml new file mode 100644 index 00000000..6692cc01 --- /dev/null +++ b/samples/svelte-mysql/.github/workflows/down.yaml @@ -0,0 +1,21 @@ +name: Down + +on: + workflow_dispatch: + +jobs: + down: + environment: production + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + + - name: Down + uses: DefangLabs/defang-github-action@v1.3.2 + with: + command: "down" diff --git a/samples/sveltekit-mongodb/.github/workflows/deploy.yaml b/samples/sveltekit-mongodb/.github/workflows/deploy.yaml index b3d14678..9e428df8 100644 --- a/samples/sveltekit-mongodb/.github/workflows/deploy.yaml +++ b/samples/sveltekit-mongodb/.github/workflows/deploy.yaml @@ -4,6 +4,10 @@ on: push: branches: - main + paths: + - "**" + - "!.github/workflows/**" + - ".github/workflows/deploy.yaml" jobs: deploy: diff --git a/samples/sveltekit-mongodb/.github/workflows/down.yaml b/samples/sveltekit-mongodb/.github/workflows/down.yaml new file mode 100644 index 00000000..6692cc01 --- /dev/null +++ b/samples/sveltekit-mongodb/.github/workflows/down.yaml @@ -0,0 +1,21 @@ +name: Down + +on: + workflow_dispatch: + +jobs: + down: + environment: production + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + + - name: Down + uses: DefangLabs/defang-github-action@v1.3.2 + with: + command: "down" diff --git a/samples/sveltekit/.github/workflows/deploy.yaml b/samples/sveltekit/.github/workflows/deploy.yaml index b3d14678..9e428df8 100644 --- a/samples/sveltekit/.github/workflows/deploy.yaml +++ b/samples/sveltekit/.github/workflows/deploy.yaml @@ -4,6 +4,10 @@ on: push: branches: - main + paths: + - "**" + - "!.github/workflows/**" + - ".github/workflows/deploy.yaml" jobs: deploy: diff --git a/samples/sveltekit/.github/workflows/down.yaml b/samples/sveltekit/.github/workflows/down.yaml new file mode 100644 index 00000000..6692cc01 --- /dev/null +++ b/samples/sveltekit/.github/workflows/down.yaml @@ -0,0 +1,21 @@ +name: Down + +on: + workflow_dispatch: + +jobs: + down: + environment: production + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + + - name: Down + uses: DefangLabs/defang-github-action@v1.3.2 + with: + command: "down" diff --git a/samples/vllm/.github/workflows/deploy.yaml b/samples/vllm/.github/workflows/deploy.yaml index b3d14678..9e428df8 100644 --- a/samples/vllm/.github/workflows/deploy.yaml +++ b/samples/vllm/.github/workflows/deploy.yaml @@ -4,6 +4,10 @@ on: push: branches: - main + paths: + - "**" + - "!.github/workflows/**" + - ".github/workflows/deploy.yaml" jobs: deploy: diff --git a/samples/vllm/.github/workflows/down.yaml b/samples/vllm/.github/workflows/down.yaml new file mode 100644 index 00000000..6692cc01 --- /dev/null +++ b/samples/vllm/.github/workflows/down.yaml @@ -0,0 +1,21 @@ +name: Down + +on: + workflow_dispatch: + +jobs: + down: + environment: production + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + + - name: Down + uses: DefangLabs/defang-github-action@v1.3.2 + with: + command: "down" diff --git a/samples/vuejs/.github/workflows/deploy.yaml b/samples/vuejs/.github/workflows/deploy.yaml index b3d14678..9e428df8 100644 --- a/samples/vuejs/.github/workflows/deploy.yaml +++ b/samples/vuejs/.github/workflows/deploy.yaml @@ -4,6 +4,10 @@ on: push: branches: - main + paths: + - "**" + - "!.github/workflows/**" + - ".github/workflows/deploy.yaml" jobs: deploy: diff --git a/samples/vuejs/.github/workflows/down.yaml b/samples/vuejs/.github/workflows/down.yaml new file mode 100644 index 00000000..6692cc01 --- /dev/null +++ b/samples/vuejs/.github/workflows/down.yaml @@ -0,0 +1,21 @@ +name: Down + +on: + workflow_dispatch: + +jobs: + down: + environment: production + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + + - name: Down + uses: DefangLabs/defang-github-action@v1.3.2 + with: + command: "down"