Spaces:
Sleeping
Sleeping
test push to riksakrivet
Browse files
.github/workflows/sync_to_riksarkivet_repo.yml
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: Sync to Riksarkivet repo
|
2 |
+
on: workflow_dispatch
|
3 |
+
|
4 |
+
jobs:
|
5 |
+
sync-to-hub:
|
6 |
+
runs-on: ubuntu-latest
|
7 |
+
steps:
|
8 |
+
- uses: actions/checkout@v3
|
9 |
+
with:
|
10 |
+
fetch-depth: 0
|
11 |
+
lfs: true
|
12 |
+
- name: Push to riksarkivet
|
13 |
+
env:
|
14 |
+
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
15 |
+
run: git push --force https://Riksarkivet:$HF_TOKEN@https://github.com/Riksarkivet/HTRFLOW main
|