diff --git a/.env.example b/.env.example index 59e03c1..857c3fb 100644 --- a/.env.example +++ b/.env.example @@ -1 +1,3 @@ -POLLING_INTERVAL=300000 +REACT_APP_POLLING_INTERVAL=300000 +REACT_APP_DOCWHIZZ_TRAEFIK_EE_USER_ID="" +REACT_APP_DOCWHIZZ_TRAEFIK_PROXY_USER_ID="" diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 2f8a460..404652a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -5,12 +5,15 @@ on: branches: - main -jobs: +env: + REACT_APP_POLLING_INTERVAL: 300000 + REACT_APP_DOCWHIZZ_TRAEFIK_EE_USER_ID: "${{ secrets.DOCWHIZZ_TRAEFIK_EE_USER_ID }}" + REACT_APP_DOCWHIZZ_TRAEFIK_PROXY_USER_ID: "${{ secrets.DOCWHIZZ_TRAEFIK_PROXY_USER_ID }}" +jobs: doc: name: Build and publish assets runs-on: ubuntu-latest - steps: - name: Setup Node.js