Skip to content

Ploomber cloud deploy,en #112

Ploomber cloud deploy,en

Ploomber cloud deploy,en #112

Workflow file for this run

name: Ploomber cloud deploy,en
on:
schedule:
- cron: '0 0 * * *'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Set up credentials
run: |
cd mini-projects/end-to-end/
touch .env
echo RapidAPI=${{ secrets.RapidAPI }} >> .env
cat .env
- name: Install dependencies
run: |
cd mini-projects/end-to-end/
pip install -r requirements.txt
- name: Execute data download
run: |
cd mini-projects/end-to-end/
python dataextraction.py
- name: Deploy to Ploomber cloud
run: |
cd mini-projects/end-to-end/
ploomber-cloud deploy