We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 555e401 commit 703f123Copy full SHA for 703f123
2 files changed
.ci/push.sh
@@ -0,0 +1,6 @@
1
+if ls scrolls/*.tar.gz 1> /dev/null 2>&1; then
2
+ mc cp --recursive ./scrolls/*.tar.gz scrolls/druid-scrolls-staging
3
+ mc cp ./latest.json scrolls/druid-scrolls-staging
4
+else
5
+ echo "No scrolls to push"
6
+fi
.github/workflows/build-publish.yml
@@ -19,7 +19,5 @@ jobs:
19
run: mc cp scrolls/druid-scrolls-staging/latest.json latest.json || true
20
- run: sh find-changed-scrolls.sh
21
name: Building new files
22
- - name: Upload scrolls
23
- run: mc cp --recursive ./scrolls/*.tar.gz scrolls/druid-scrolls-staging
24
- - name: Upload latest
25
- run: mc cp --recursive ./latest.json scrolls/druid-scrolls-staging
+ - name: Pushing new scrolls
+ run: sh .ci/push.sh
0 commit comments