Atualiza redes sociais (#1322) #346
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy to Scrapy Cloud | |
on: | |
push: | |
branches: [main] | |
workflow_dispatch: | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: "3.10" | |
- name: Install shub | |
run: | | |
python -m pip install --upgrade pip | |
pip install shub | |
- name: Deploy to Scrapy Cloud | |
env: | |
SHUB_APIKEY: ${{ secrets.SHUB_APIKEY }} | |
run: | | |
cd data_collection/ | |
shub deploy ${{ secrets.SCRAPY_CLOUD_PROJECT_ID }} |