Skip to content

Commit 4d14964

Browse files
committed
Add publish task
- Creates Flatpak repository - Creates static deltas - Syncs to the site using Site.js
1 parent 1554ed8 commit 4d14964

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

task/publish

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
#!/usr/bin/env bash
2+
3+
set -eu -o pipefail
4+
5+
echo -e "\n - Exporting repository.\n"
6+
7+
flatpak build-export --gpg-sign=51A737AB191E356663DC70E539D50F711494540C --gpg-homedir=/home/aral/.small-tech.org/watson/org.small_tech.comet/gpg ../comet-site/repo build stable
8+
9+
echo -e "\n - Creating static deltas.\n"
10+
11+
flatpak build-update-repo ../comet-site/repo --gpg-sign=51A737AB191E356663DC70E539D50F711494540C --gpg-homedir=/home/aral/.small-tech.org/watson/org.small_tech.comet/gpg --generate-static-deltas
12+
13+
echo -e "\n - Syncing to site.\n"
14+
15+
pushd ../comet-site
16+
site [email protected]:public
17+
popd
18+
19+
echo -e "\nDone.\n"

0 commit comments

Comments
 (0)