diff --git a/.github/workflows/scarf-data-export.yml b/.github/workflows/scarf-data-export.yml new file mode 100644 index 0000000..984f02d --- /dev/null +++ b/.github/workflows/scarf-data-export.yml @@ -0,0 +1,14 @@ +name: Export Scarf data +on: + schedule: + - cron: '0 0 * * *' + +jobs: + export-scarf-data: + runs-on: ubuntu-latest + steps: + - uses: docker://scarf.docker.scarf.sh/scarf-sh/scarf-postgres-exporter:latest + env: + SCARF_API_TOKEN: ${{ secrets.SCARF_API_TOKEN }} + SCARF_ENTITY_NAME: {Your Scarf user or org name} + PSQL_CONN_STRING: ${{ secrets.PSQL_CONN_STRING }}