From a6a1617252b0f102a8d128fd147326eab2944d66 Mon Sep 17 00:00:00 2001 From: Peer Richelsen Date: Wed, 28 Dec 2022 21:08:02 +0100 Subject: [PATCH] Create scarf-data-export.yml --- .github/workflows/scarf-data-export.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/scarf-data-export.yml 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 }}