Skip to content

Commit

Permalink
update tag reference in README to 0.7 (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
neel-astro authored Sep 26, 2024
1 parent 1c0c1fe commit b598870
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Deploy to Astro
uses: astronomer/deploy-action@v0.6
uses: astronomer/deploy-action@v0.7
with:
deployment-id: <deployment id>
parse: true
Expand All @@ -114,7 +114,7 @@ In the following example, the folder `/example-dags/` is specified as the root f
```yaml
steps:
- name: Deploy to Astro
uses: astronomer/deploy-action@v0.6
uses: astronomer/deploy-action@v0.7
with:
deployment-id: <deployment id>
root-folder: /example-dags/
Expand All @@ -127,7 +127,7 @@ In the following example, the pytest located at `/tests/test-tags.py` runs befor
```yaml
steps:
- name: Deploy to Astro
uses: astronomer/deploy-action@v0.6
uses: astronomer/deploy-action@v0.7
with:
deployment-id: <deployment id>
pytest: true
Expand All @@ -141,7 +141,7 @@ In the following example, `force` is enabled and both the DAG parse and pytest p
```yaml
steps:
- name: Deploy to Astro
uses: astronomer/deploy-action@v0.6
uses: astronomer/deploy-action@v0.7
with:
deployment-id: <deployment id>
force: true
Expand Down Expand Up @@ -184,7 +184,7 @@ jobs:
build-args: |
<your-build-arguments>
- name: Deploy to Astro
uses: astronomer/deploy-action@v0.6
uses: astronomer/deploy-action@v0.7
with:
deployment-id: <deployment id>
deploy-type: image-and-dags
Expand All @@ -199,27 +199,27 @@ In the following example we would be deploying the dbt project located at `dbt`
```yaml
steps:
- name: DBT Deploy to Astro
uses: astronomer/deploy-action@v0.6
uses: astronomer/deploy-action@v0.7
with:
deployment-id: <deployment id>
deploy-type: dbt
root-folder: dbt
```
### Deploy DAGs anad DBT project from same repo
### Deploy DAGs and DBT project from same repo
In the following example we would setup a workflow to deploy dags/images located at `astro-project` and dbt deploy from dbt project located at `dbt` folder in the same Github repo

```yaml
steps:
- name: DBT Deploy to Astro
uses: astronomer/deploy-action@v0.6
uses: astronomer/deploy-action@v0.7
with:
deployment-id: <deployment id>
deploy-type: dbt
root-folder: dbt
- name: DAGs/Image Deploy to Astro
uses: astronomer/deploy-action@v0.6
uses: astronomer/deploy-action@v0.7
with:
deployment-id: <deployment id>
root-folder: astro-project/
Expand Down Expand Up @@ -254,7 +254,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Create Deployment Preview
uses: astronomer/deploy-action@v0.6
uses: astronomer/deploy-action@v0.7
with:
action: create-deployment-preview
deployment-id: <orginal deployment id>
Expand All @@ -279,7 +279,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Deploy to Deployment Preview
uses: astronomer/deploy-action@v0.6
uses: astronomer/deploy-action@v0.7
with:
action: deploy-deployment-preview
deployment-id: <orginal deployment id>
Expand All @@ -304,7 +304,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Deploy to Deployment Preview
uses: astronomer/deploy-action@v0.6
uses: astronomer/deploy-action@v0.7
with:
action: deploy-deployment-preview
deploy-type: dbt
Expand All @@ -331,7 +331,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Delete Deployment Preview
uses: astronomer/deploy-action@v0.6
uses: astronomer/deploy-action@v0.7
with:
action: delete-deployment-preview
deployment-id: <orginal deployment id>
Expand All @@ -356,7 +356,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Deploy to Astro
uses: astronomer/deploy-action@v0.6
uses: astronomer/deploy-action@v0.7
with:
deployment-id: <orginal deployment id>
```

0 comments on commit b598870

Please sign in to comment.