Sync manifests to portal tables #2
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: Sync manifests to portal tables | |
on: | |
workflow_dispatch: | |
jobs: | |
update: | |
runs-on: ubuntu-latest | |
# defaults: | |
# run: | |
# working-directory: portal_tables | |
steps: | |
- uses: actions/[email protected] | |
- name: Setup Python | |
uses: actions/[email protected] | |
with: | |
python-version: '3.12' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install synapseclient pandas | |
- name: Sync to portal | |
run: | | |
python portal_tables/sync_publications.py --noprint | |
python portal_tables/sync_datasets.py --noprint | |
python portal_tables/sync_tools.py --noprint | |
env: | |
SYNAPSE_AUTH_TOKEN: ${{ secrets.SYNAPSE_AUTH_TOKEN }} |