diff --git a/.github/workflows/ploomber-cloud.yaml b/.github/workflows/ploomber-cloud.yaml new file mode 100644 index 0000000..5769712 --- /dev/null +++ b/.github/workflows/ploomber-cloud.yaml @@ -0,0 +1,31 @@ +name: Ploomber Cloud + +on: + push: + branches: + # only deploy from the main branch + - main + +jobs: + deploy-to-ploomber-cloud: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v2 + with: + python-version: '3.11' + + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install ploomber-cloud + + - name: Deploy + env: + PLOOMBER_CLOUD_KEY: ${{ secrets.PLOOMBER_CLOUD_KEY }} + run: | + ploomber-cloud deploy --watch + # The --watch flag will print deployment status updates to the logs. + # To learn more, visit: https://docs.cloud.ploomber.io/en/latest/user-guide/github.html \ No newline at end of file diff --git a/README.md b/README.md index fcc55a0..b1f728f 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,11 @@ # CSE_dashboards +View the 👉 [**deployment**](https://cold-voice-5221.ploomberapp.io/app) 👈 (using [Ploomber](https://ploomber.io/)). + Exploratory dashboards for gridded data from Werning et al. (2023). DOI Using *Panel, Xarray, hvPlot, Bokeh and Ploomber*. -View the 👉 [**deployment**](https://cold-voice-5221.ploomberapp.io/app) 👈 (using [Ploomber](https://ploomber.io/)). - preview of the dashboard + diff --git a/ploomber-cloud.json b/ploomber-cloud.json new file mode 100644 index 0000000..31dfe8f --- /dev/null +++ b/ploomber-cloud.json @@ -0,0 +1,4 @@ +{ + "id": "cold-voice-5221", + "type": "panel" +} \ No newline at end of file