Skip to content

Commit

Permalink
fix(templates): properly demonstrate use of --sdk flag
Browse files Browse the repository at this point in the history
  • Loading branch information
AntoineDao committed Nov 27, 2023
1 parent b2a1e35 commit c262596
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,9 @@ jobs:
TAG=$(echo "${TAG:?}" | sed 's/[[:space:]]//g')
TAG=${TAG%%-*}
echo pollination-apps deploy app --tag $TAG --owner {{cookiecutter.app_owner}} --name {% raw %}"${{needs.generate-app-name.outputs.app-name}}"{% endraw %} -sdk dash --{{cookiecutter.app_visibility}} --message {% raw %}"${{github.event.commits[0].message}}"{% endraw %}
echo pollination-apps deploy app --tag $TAG --owner {{cookiecutter.app_owner}} --name {% raw %}"${{needs.generate-app-name.outputs.app-name}}"{% endraw %} --sdk dash --{{cookiecutter.app_visibility}} --message {% raw %}"${{github.event.commits[0].message}}"{% endraw %}
pollination-apps deploy app --tag $TAG --owner {{cookiecutter.app_owner}} --name {% raw %}"${{needs.generate-app-name.outputs.app-name}}"{% endraw %} -sdk dash --{{cookiecutter.app_visibility}} --message {% raw %}"${{github.event.commits[0].message}}"{% endraw %}
pollination-apps deploy app --tag $TAG --owner {{cookiecutter.app_owner}} --name {% raw %}"${{needs.generate-app-name.outputs.app-name}}"{% endraw %} --sdk dash --{{cookiecutter.app_visibility}} --message {% raw %}"${{github.event.commits[0].message}}"{% endraw %}
env:
GITHUB_TOKEN: {% raw %}${{ secrets.GITHUB_TOKEN }}{% endraw %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ jobs:
pip install pollination-apps
- name: deploy app to pollination
run: |
pollination-apps deploy app --owner {{cookiecutter.app_owner}} --name "{{cookiecutter.app_name}}" -sdk dash --tag {%raw%}${{ env.RELEASE_VERSION }}{%endraw%} --{{cookiecutter.app_visibility}}
pollination-apps deploy app --owner {{cookiecutter.app_owner}} --name "{{cookiecutter.app_name}}" --sdk dash --tag {%raw%}${{ env.RELEASE_VERSION }}{%endraw%} --{{cookiecutter.app_visibility}}
env:
POLLINATION_TOKEN: {% raw %}${{ secrets.POLLINATION_TOKEN }}{% endraw %}
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ You need to install Docker on your machine in order to be able to run this comma
## Deploy to Pollination

```
> pollination-apps deploy app --name "{{ cookiecutter.app_name }}" -sdk dash --{{ cookiecutter.app_visibility }} --api-token "Your api token from Pollination"
> pollination-apps deploy app --name "{{ cookiecutter.app_name }}" --sdk dash --{{ cookiecutter.app_visibility }} --api-token "Your api token from Pollination"
```

{% if cookiecutter.ci == "github-manual" %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ You need to install Docker on your machine in order to be able to run this comma
## Deploy to Pollination

```
> pollination-apps deploy app --name "{{ cookiecutter.app_name }}" -sdk react --{{ cookiecutter.app_visibility }} --api-token "Your api token from Pollination"
> pollination-apps deploy app --name "{{ cookiecutter.app_name }}" --sdk react --{{ cookiecutter.app_visibility }} --api-token "Your api token from Pollination"
```

{% if cookiecutter.ci == "github-manual" %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,9 @@ jobs:
TAG=$(echo "${TAG:?}" | sed 's/[[:space:]]//g')
TAG=${TAG%%-*}
echo pollination-apps deploy app --tag $TAG --owner {{cookiecutter.app_owner}} --name {% raw %}"${{needs.generate-app-name.outputs.app-name}}"{% endraw %} -sdk streamlit --{{cookiecutter.app_visibility}} --message {% raw %}"${{github.event.commits[0].message}}"{% endraw %}
echo pollination-apps deploy app --tag $TAG --owner {{cookiecutter.app_owner}} --name {% raw %}"${{needs.generate-app-name.outputs.app-name}}"{% endraw %} --sdk streamlit --{{cookiecutter.app_visibility}} --message {% raw %}"${{github.event.commits[0].message}}"{% endraw %}
pollination-apps deploy app --tag $TAG --owner {{cookiecutter.app_owner}} --name {% raw %}"${{needs.generate-app-name.outputs.app-name}}"{% endraw %} -sdk streamlit --{{cookiecutter.app_visibility}} --message {% raw %}"${{github.event.commits[0].message}}"{% endraw %}
pollination-apps deploy app --tag $TAG --owner {{cookiecutter.app_owner}} --name {% raw %}"${{needs.generate-app-name.outputs.app-name}}"{% endraw %} --sdk streamlit --{{cookiecutter.app_visibility}} --message {% raw %}"${{github.event.commits[0].message}}"{% endraw %}
env:
GITHUB_TOKEN: {% raw %}${{ secrets.GITHUB_TOKEN }}{% endraw %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ jobs:
pip install pollination-apps
- name: deploy app to pollination
run: |
pollination-apps deploy app --owner {{cookiecutter.app_owner}} --name "{{cookiecutter.app_name}}" -sdk streamlit --tag {%raw%}${{ env.RELEASE_VERSION }}{%endraw%} --{{cookiecutter.app_visibility}}
pollination-apps deploy app --owner {{cookiecutter.app_owner}} --name "{{cookiecutter.app_name}}" --sdk streamlit --tag {%raw%}${{ env.RELEASE_VERSION }}{%endraw%} --{{cookiecutter.app_visibility}}
env:
POLLINATION_TOKEN: {% raw %}${{ secrets.POLLINATION_TOKEN }}{% endraw %}
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ You need to install Docker on your machine in order to be able to run this comma
## Deploy to Pollination

```
> pollination-apps deploy app --name "{{ cookiecutter.app_name }}" -sdk streamlit --{{ cookiecutter.app_visibility }} --api-token "Your api token from Pollination"
> pollination-apps deploy app --name "{{ cookiecutter.app_name }}" --sdk streamlit --{{ cookiecutter.app_visibility }} --api-token "Your api token from Pollination"
```

{% if cookiecutter.ci == "github-manual" %}
Expand Down

0 comments on commit c262596

Please sign in to comment.