Skip to content

Commit

Permalink
use the latest github action in samples
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanstephens committed Jan 14, 2025
1 parent fca1ecb commit a9c7eca
Show file tree
Hide file tree
Showing 58 changed files with 63 additions and 62 deletions.
2 changes: 1 addition & 1 deletion samples/angular-express/.github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ jobs:
uses: actions/checkout@v4

- name: Deploy
uses: DefangLabs/defang-github-action@v1.1.0
uses: DefangLabs/defang-github-action@v1.2.0
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ jobs:
uses: actions/checkout@v4

- name: Deploy
uses: DefangLabs/defang-github-action@v1.1.0
uses: DefangLabs/defang-github-action@v1.2.0
2 changes: 1 addition & 1 deletion samples/csharp-dotnet/.github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ jobs:
uses: actions/checkout@v4

- name: Deploy
uses: DefangLabs/defang-github-action@v1.1.0
uses: DefangLabs/defang-github-action@v1.2.0
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@ jobs:
uses: actions/checkout@v4

- name: Deploy
uses: DefangLabs/defang-github-action@v1.0.4
uses: DefangLabs/defang-github-action@v1.2.0
with:
config-env-vars: SECRET_KEY POSTGRES_PASSWORD
env:
SECRET_KEY: ${{ secrets.SECRET_KEY }}
POSTGRES_PASSWORD: ${{ secrets.POSTGRES_PASSWORD }}
POSTGRES_PASSWORD: ${{ secrets.POSTGRES_PASSWORD }}
POSTGRES_PARAMS: ${{ secrets.POSTGRES_PARAMS }}
2 changes: 1 addition & 1 deletion samples/django-postgres/.github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ jobs:
uses: actions/checkout@v4

- name: Deploy
uses: DefangLabs/defang-github-action@v1.1.0
uses: DefangLabs/defang-github-action@v1.2.0
2 changes: 1 addition & 1 deletion samples/django/.github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ jobs:
uses: actions/checkout@v4

- name: Deploy
uses: DefangLabs/defang-github-action@v1.1.0
uses: DefangLabs/defang-github-action@v1.2.0
2 changes: 1 addition & 1 deletion samples/elysia/.github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ jobs:
uses: actions/checkout@v4

- name: Deploy
uses: DefangLabs/defang-github-action@v1.1.0
uses: DefangLabs/defang-github-action@v1.2.0
2 changes: 1 addition & 1 deletion samples/fastapi-postgres/.github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ jobs:
uses: actions/checkout@v4

- name: Deploy
uses: DefangLabs/defang-github-action@v1.1.0
uses: DefangLabs/defang-github-action@v1.2.0
2 changes: 1 addition & 1 deletion samples/fastapi/.github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ jobs:
uses: actions/checkout@v4

- name: Deploy
uses: DefangLabs/defang-github-action@v1.1.0
uses: DefangLabs/defang-github-action@v1.2.0
2 changes: 1 addition & 1 deletion samples/feathersjs/.github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ jobs:
uses: actions/checkout@v4

- name: Deploy
uses: DefangLabs/defang-github-action@v1.1.0
uses: DefangLabs/defang-github-action@v1.2.0
2 changes: 1 addition & 1 deletion samples/flask/.github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ jobs:
uses: actions/checkout@v4

- name: Deploy
uses: DefangLabs/defang-github-action@v1.1.0
uses: DefangLabs/defang-github-action@v1.2.0
2 changes: 1 addition & 1 deletion samples/golang-http-form/.github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ jobs:
uses: actions/checkout@v4

- name: Deploy
uses: DefangLabs/defang-github-action@v1.1.0
uses: DefangLabs/defang-github-action@v1.2.0
2 changes: 1 addition & 1 deletion samples/golang-http/.github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ jobs:
uses: actions/checkout@v4

- name: Deploy
uses: DefangLabs/defang-github-action@v1.1.0
uses: DefangLabs/defang-github-action@v1.2.0
2 changes: 1 addition & 1 deletion samples/golang-mongodb/.github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ jobs:
uses: actions/checkout@v4

- name: Deploy
uses: DefangLabs/defang-github-action@v1.1.0
uses: DefangLabs/defang-github-action@v1.2.0
2 changes: 1 addition & 1 deletion samples/golang-openai/.github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ jobs:
uses: actions/checkout@v4

- name: Deploy
uses: DefangLabs/defang-github-action@v1.1.0
uses: DefangLabs/defang-github-action@v1.2.0
2 changes: 1 addition & 1 deletion samples/golang-rest-api/.github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ jobs:
uses: actions/checkout@v4

- name: Deploy
uses: DefangLabs/defang-github-action@v1.1.0
uses: DefangLabs/defang-github-action@v1.2.0
2 changes: 1 addition & 1 deletion samples/golang-s3/.github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ jobs:
uses: actions/checkout@v4

- name: Deploy
uses: DefangLabs/defang-github-action@v1.1.0
uses: DefangLabs/defang-github-action@v1.2.0
2 changes: 1 addition & 1 deletion samples/golang-slackbot/.github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ jobs:
uses: actions/checkout@v4

- name: Deploy
uses: DefangLabs/defang-github-action@v1.1.0
uses: DefangLabs/defang-github-action@v1.2.0
2 changes: 1 addition & 1 deletion samples/hasura/.github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ jobs:
uses: actions/checkout@v4

- name: Deploy
uses: DefangLabs/defang-github-action@v1.1.0
uses: DefangLabs/defang-github-action@v1.2.0
2 changes: 1 addition & 1 deletion samples/html-css-js/.github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ jobs:
uses: actions/checkout@v4

- name: Deploy
uses: DefangLabs/defang-github-action@v1.0.4
uses: DefangLabs/defang-github-action@v1.2.0
2 changes: 1 addition & 1 deletion samples/huginn/.github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ jobs:
uses: actions/checkout@v4

- name: Deploy
uses: DefangLabs/defang-github-action@v1.1.0
uses: DefangLabs/defang-github-action@v1.2.0
2 changes: 1 addition & 1 deletion samples/imgproxy/.github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ jobs:
uses: actions/checkout@v4

- name: Deploy
uses: DefangLabs/defang-github-action@v1.1.0
uses: DefangLabs/defang-github-action@v1.2.0
2 changes: 1 addition & 1 deletion samples/javalin/.github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ jobs:
uses: actions/checkout@v4

- name: Deploy
uses: DefangLabs/defang-github-action@v1.1.0
uses: DefangLabs/defang-github-action@v1.2.0
2 changes: 1 addition & 1 deletion samples/langchain/.github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ jobs:
uses: actions/checkout@v4

- name: Deploy
uses: DefangLabs/defang-github-action@v1.1.0
uses: DefangLabs/defang-github-action@v1.2.0
2 changes: 1 addition & 1 deletion samples/metabase/.github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ jobs:
uses: actions/checkout@v4

- name: Deploy
uses: DefangLabs/defang-github-action@v1.1.0
uses: DefangLabs/defang-github-action@v1.2.0
2 changes: 1 addition & 1 deletion samples/nextjs-blog/.github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ jobs:
uses: actions/checkout@v4

- name: Deploy
uses: DefangLabs/defang-github-action@v1.1.0
uses: DefangLabs/defang-github-action@v1.2.0
2 changes: 1 addition & 1 deletion samples/nextjs-documentation/.github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ jobs:
uses: actions/checkout@v4

- name: Deploy
uses: DefangLabs/defang-github-action@v1.1.0
uses: DefangLabs/defang-github-action@v1.2.0
4 changes: 2 additions & 2 deletions samples/nextjs-postgres/.github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ jobs:
uses: actions/checkout@v4

- name: Deploy
uses: DefangLabs/defang-github-action@v1.1.0
uses: DefangLabs/defang-github-action@v1.2.0
with:
config-env-vars: POSTGRES_PASSWORD
env:
POSTGRES_PASSWORD: ${{ secrets.POSTGRES_PASSWORD }}
POSTGRES_PASSWORD: ${{ secrets.POSTGRES_PASSWORD }}
2 changes: 1 addition & 1 deletion samples/nextjs/.github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ jobs:
uses: actions/checkout@v4

- name: Deploy
uses: DefangLabs/defang-github-action@v1.1.0
uses: DefangLabs/defang-github-action@v1.2.0
4 changes: 2 additions & 2 deletions samples/nocodb/.github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
uses: actions/checkout@v4

- name: Deploy
uses: DefangLabs/defang-github-action@v1.1.0
uses: DefangLabs/defang-github-action@v1.2.0
with:
config-env-vars: NC_DB NC_S3_ENDPOINT NC_S3_BUCKET_NAME NC_S3_REGION NC_S3_ACCESS_KEY NC_S3_ACCESS_SECRET
env:
Expand All @@ -27,4 +27,4 @@ jobs:
NC_S3_BUCKET_NAME: ${{ secrets.NC_S3_BUCKET_NAME }}
NC_S3_REGION: ${{ secrets.NC_S3_REGION }}
NC_S3_ACCESS_KEY: ${{ secrets.NC_S3_ACCESS_KEY }}
NC_S3_ACCESS_SECRET: ${{ secrets.NC_S3_ACCESS_SECRET }}
NC_S3_ACCESS_SECRET: ${{ secrets.NC_S3_ACCESS_SECRET }}
2 changes: 1 addition & 1 deletion samples/nodejs-chatroom/.github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ jobs:
uses: actions/checkout@v4

- name: Deploy
uses: DefangLabs/defang-github-action@v1.1.0
uses: DefangLabs/defang-github-action@v1.2.0
2 changes: 1 addition & 1 deletion samples/nodejs-express/.github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ jobs:
uses: actions/checkout@v4

- name: Deploy
uses: DefangLabs/defang-github-action@v1.1.0
uses: DefangLabs/defang-github-action@v1.2.0
2 changes: 1 addition & 1 deletion samples/nodejs-form/.github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ jobs:
uses: actions/checkout@v4

- name: Deploy
uses: DefangLabs/defang-github-action@v1.1.0
uses: DefangLabs/defang-github-action@v1.2.0
2 changes: 1 addition & 1 deletion samples/nodejs-http/.github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ jobs:
uses: actions/checkout@v4

- name: Deploy
uses: DefangLabs/defang-github-action@v1.1.0
uses: DefangLabs/defang-github-action@v1.2.0
2 changes: 1 addition & 1 deletion samples/nodejs-http/app/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Use the slim version of Node.js on Debian Bookworm as the base image
FROM node:20-bookworm-slim
FROM node:22-bookworm-slim

RUN apt-get update -qq \
&& apt-get install -y curl \
Expand Down
2 changes: 1 addition & 1 deletion samples/nodejs-openai/.github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ jobs:
uses: actions/checkout@v4

- name: Deploy
uses: DefangLabs/defang-github-action@v1.1.0
uses: DefangLabs/defang-github-action@v1.2.0
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ jobs:
uses: actions/checkout@v4

- name: Deploy
uses: DefangLabs/defang-github-action@v1.1.0
uses: DefangLabs/defang-github-action@v1.2.0
2 changes: 1 addition & 1 deletion samples/nodejs-rest-api/.github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ jobs:
uses: actions/checkout@v4

- name: Deploy
uses: DefangLabs/defang-github-action@v1.1.0
uses: DefangLabs/defang-github-action@v1.2.0
2 changes: 1 addition & 1 deletion samples/nodejs-s3/.github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ jobs:
uses: actions/checkout@v4

- name: Deploy
uses: DefangLabs/defang-github-action@v1.1.0
uses: DefangLabs/defang-github-action@v1.2.0
2 changes: 1 addition & 1 deletion samples/ollama/.github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ jobs:
uses: actions/checkout@v4

- name: Deploy
uses: DefangLabs/defang-github-action@v1.1.3
uses: DefangLabs/defang-github-action@v1.2.0
2 changes: 1 addition & 1 deletion samples/phoenix-postgres/.github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ jobs:
uses: actions/checkout@v4

- name: Deploy
uses: DefangLabs/defang-github-action@v1.1.0
uses: DefangLabs/defang-github-action@v1.2.0
2 changes: 1 addition & 1 deletion samples/python-form/.github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ jobs:
uses: actions/checkout@v4

- name: Deploy
uses: DefangLabs/defang-github-action@v1.1.0
uses: DefangLabs/defang-github-action@v1.2.0
2 changes: 1 addition & 1 deletion samples/python-implicit-gpu/.github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ jobs:
uses: actions/checkout@v4

- name: Deploy
uses: DefangLabs/defang-github-action@v1.1.0
uses: DefangLabs/defang-github-action@v1.2.0
2 changes: 1 addition & 1 deletion samples/python-minimal/.github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ jobs:
uses: actions/checkout@v4

- name: Deploy
uses: DefangLabs/defang-github-action@v1.1.0
uses: DefangLabs/defang-github-action@v1.2.0
2 changes: 1 addition & 1 deletion samples/python-openai/.github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ jobs:
uses: actions/checkout@v4

- name: Deploy
uses: DefangLabs/defang-github-action@v1.1.0
uses: DefangLabs/defang-github-action@v1.2.0
2 changes: 1 addition & 1 deletion samples/python-rest-api/.github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ jobs:
uses: actions/checkout@v4

- name: Deploy
uses: DefangLabs/defang-github-action@v1.1.0
uses: DefangLabs/defang-github-action@v1.2.0
2 changes: 1 addition & 1 deletion samples/python-s3/.github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ jobs:
uses: actions/checkout@v4

- name: Deploy
uses: DefangLabs/defang-github-action@v1.1.0
uses: DefangLabs/defang-github-action@v1.2.0
2 changes: 1 addition & 1 deletion samples/rails/.github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
uses: actions/checkout@v4

- name: Deploy
uses: DefangLabs/defang-github-action@v1.1.0
uses: DefangLabs/defang-github-action@v1.2.0
with:
config-env-vars: POSTGRES_PASSWORD
env:
Expand Down
2 changes: 1 addition & 1 deletion samples/react/.github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ jobs:
uses: actions/checkout@v4

- name: Deploy
uses: DefangLabs/defang-github-action@v1.1.3
uses: DefangLabs/defang-github-action@v1.2.0
2 changes: 1 addition & 1 deletion samples/rocket/.github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ jobs:
uses: actions/checkout@v4

- name: Deploy
uses: DefangLabs/defang-github-action@v1.1.0
uses: DefangLabs/defang-github-action@v1.2.0
2 changes: 1 addition & 1 deletion samples/sailsjs-postgres/.github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ jobs:
uses: actions/checkout@v4

- name: Deploy
uses: DefangLabs/defang-github-action@v1.1.0
uses: DefangLabs/defang-github-action@v1.2.0
2 changes: 1 addition & 1 deletion samples/sailsjs/.github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ jobs:
uses: actions/checkout@v4

- name: Deploy
uses: DefangLabs/defang-github-action@v1.1.0
uses: DefangLabs/defang-github-action@v1.2.0
2 changes: 1 addition & 1 deletion samples/svelte-mysql/.github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ jobs:
uses: actions/checkout@v4

- name: Deploy
uses: DefangLabs/defang-github-action@v1.1.0
uses: DefangLabs/defang-github-action@v1.2.0
Loading

0 comments on commit a9c7eca

Please sign in to comment.