From 243f4c9c5db059cd159b62218e75f0d53fe14635 Mon Sep 17 00:00:00 2001
From: pgleeson
Date: Thu, 15 Aug 2024 11:39:32 +0100
Subject: [PATCH] Add sync action...
---
.github/workflows/sync.yml | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
create mode 100644 .github/workflows/sync.yml
diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml
new file mode 100644
index 0000000..937284a
--- /dev/null
+++ b/.github/workflows/sync.yml
@@ -0,0 +1,18 @@
+name: Sync to Hugging Face hub
+on:
+ push:
+ branches: [main]
+
+ # to run this workflow manually from the Actions tab
+ workflow_dispatch:
+
+jobs:
+ sync-to-hub:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v3
+ with:
+ fetch-depth: 0
+ lfs: true
+ - name: Push to hub
+ run: echo Test...