reflex-google-auth 0.0.9a3__tar.gz → 0.0.9a7__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {reflex_google_auth-0.0.9a3 → reflex_google_auth-0.0.9a7}/.github/workflows/publish.yml +15 -7
- {reflex_google_auth-0.0.9a3/custom_components/reflex_google_auth.egg-info → reflex_google_auth-0.0.9a7}/PKG-INFO +1 -1
- {reflex_google_auth-0.0.9a3 → reflex_google_auth-0.0.9a7/custom_components/reflex_google_auth.egg-info}/PKG-INFO +1 -1
- {reflex_google_auth-0.0.9a3 → reflex_google_auth-0.0.9a7}/.gitignore +0 -0
- {reflex_google_auth-0.0.9a3 → reflex_google_auth-0.0.9a7}/README.md +0 -0
- {reflex_google_auth-0.0.9a3 → reflex_google_auth-0.0.9a7}/custom_components/reflex_google_auth/__init__.py +0 -0
- {reflex_google_auth-0.0.9a3 → reflex_google_auth-0.0.9a7}/custom_components/reflex_google_auth/decorator.py +0 -0
- {reflex_google_auth-0.0.9a3 → reflex_google_auth-0.0.9a7}/custom_components/reflex_google_auth/google_auth.py +0 -0
- {reflex_google_auth-0.0.9a3 → reflex_google_auth-0.0.9a7}/custom_components/reflex_google_auth/state.py +0 -0
- {reflex_google_auth-0.0.9a3 → reflex_google_auth-0.0.9a7}/custom_components/reflex_google_auth.egg-info/SOURCES.txt +0 -0
- {reflex_google_auth-0.0.9a3 → reflex_google_auth-0.0.9a7}/custom_components/reflex_google_auth.egg-info/dependency_links.txt +0 -0
- {reflex_google_auth-0.0.9a3 → reflex_google_auth-0.0.9a7}/custom_components/reflex_google_auth.egg-info/requires.txt +0 -0
- {reflex_google_auth-0.0.9a3 → reflex_google_auth-0.0.9a7}/custom_components/reflex_google_auth.egg-info/top_level.txt +0 -0
- {reflex_google_auth-0.0.9a3 → reflex_google_auth-0.0.9a7}/google_auth_demo/.gitignore +0 -0
- {reflex_google_auth-0.0.9a3 → reflex_google_auth-0.0.9a7}/google_auth_demo/assets/favicon.ico +0 -0
- {reflex_google_auth-0.0.9a3 → reflex_google_auth-0.0.9a7}/google_auth_demo/google_auth_demo/__init__.py +0 -0
- {reflex_google_auth-0.0.9a3 → reflex_google_auth-0.0.9a7}/google_auth_demo/google_auth_demo/google_auth_demo.py +0 -0
- {reflex_google_auth-0.0.9a3 → reflex_google_auth-0.0.9a7}/google_auth_demo/requirements.txt +0 -0
- {reflex_google_auth-0.0.9a3 → reflex_google_auth-0.0.9a7}/google_auth_demo/rxconfig.py +0 -0
- {reflex_google_auth-0.0.9a3 → reflex_google_auth-0.0.9a7}/pyproject.toml +0 -0
- {reflex_google_auth-0.0.9a3 → reflex_google_auth-0.0.9a7}/setup.cfg +0 -0
@@ -1,14 +1,18 @@
|
|
1
|
-
name: Publish Component
|
1
|
+
name: Publish Component and Deploy Demo App
|
2
2
|
|
3
3
|
on:
|
4
|
-
|
5
|
-
|
6
|
-
|
4
|
+
release:
|
5
|
+
types: [published]
|
6
|
+
|
7
|
+
env:
|
8
|
+
EXTRA_ARGS: "--hostname ${{ vars.HOSTNAME }} --env GOOGLE_CLIENT_ID=${{ secrets.GOOGLE_CLIENT_ID }} --env GOOGLE_CLIENT_SECRET=${{ secrets.GOOGLE_CLIENT_SECRET }} --env GOOGLE_REDIRECT_URI=${{ secrets.GOOGLE_REDIRECT_URI }}"
|
7
9
|
|
8
10
|
jobs:
|
9
11
|
publish:
|
10
12
|
name: Publish Component to PyPI
|
11
13
|
runs-on: ubuntu-latest
|
14
|
+
env:
|
15
|
+
HAS_PYPI_TOKEN: ${{ secrets.PYPI_TOKEN != '' }}
|
12
16
|
steps:
|
13
17
|
- uses: actions/checkout@master
|
14
18
|
- name: Set up Python 3.12
|
@@ -20,11 +24,14 @@ jobs:
|
|
20
24
|
- name: Install latest reflex
|
21
25
|
run: pip install 'git+https://github.com/reflex-dev/reflex@masenf/custom-component-publish-dynamic-version'
|
22
26
|
- name: Publish to PyPI
|
27
|
+
if: ${{ env.HAS_PYPI_TOKEN == 'true' }}
|
23
28
|
run: reflex component publish -t ${{ secrets.PYPI_TOKEN }} --no-share --no-validate-project-info
|
24
29
|
deploy:
|
25
30
|
name: Deploy Demo App to Reflex Cloud
|
26
31
|
runs-on: ubuntu-latest
|
27
32
|
needs: publish
|
33
|
+
env:
|
34
|
+
HAS_REFLEX_AUTH_TOKEN: ${{ secrets.REFLEX_AUTH_TOKEN != '' }}
|
28
35
|
steps:
|
29
36
|
- uses: actions/checkout@master
|
30
37
|
- name: Set up Python 3.12
|
@@ -32,13 +39,14 @@ jobs:
|
|
32
39
|
with:
|
33
40
|
python-version: "3.12"
|
34
41
|
- name: Set tagged version for deploy
|
35
|
-
run: sed -E "s
|
42
|
+
run: sed -E "s/^${{ vars.COMPONENT_NAME }}([ >=].*)?$/${{ vars.COMPONENT_NAME }}==${{ github.event.release.tag_name }}/" -i ${{ vars.APP_DIRECTORY }}/requirements.txt
|
36
43
|
- name: Deploy to ReflexCloud
|
37
44
|
uses: reflex-dev/reflex-deploy-action@v2
|
45
|
+
if: ${{ env.HAS_REFLEX_AUTH_TOKEN == 'true' }}
|
38
46
|
with:
|
39
47
|
auth_token: ${{ secrets.REFLEX_AUTH_TOKEN }}
|
40
48
|
project_id: ${{ secrets.REFLEX_PROJECT_ID }}
|
41
|
-
app_directory:
|
42
|
-
extra_args:
|
49
|
+
app_directory: ${{ vars.APP_DIRECTORY }}
|
50
|
+
extra_args: ${{ env.EXTRA_ARGS }}
|
43
51
|
dry_run: ${{ vars.DRY_RUN }}
|
44
52
|
skip_checkout: "true"
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{reflex_google_auth-0.0.9a3 → reflex_google_auth-0.0.9a7}/google_auth_demo/assets/favicon.ico
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|