Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update tag reference in README to 0.7 #83

Merged
merged 1 commit into from
Sep 26, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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>
```