diff options
| author | Ahmed Abdelhalim <[email protected]> | 2021-05-07 17:32:18 +0200 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2021-05-07 17:57:14 +0200 |
| commit | 6fb25c034abf20669ba06889c6e72dbb4e67e953 (patch) | |
| tree | c26e2402ae0f20705b0e40ad7f03a35e13efd470 /.build.yml | |
| parent | 53a05dabac3071bb0f8414e665de210310f37cff (diff) | |
Add build script and fix yarn versions/commands
Diffstat (limited to '.build.yml')
| -rw-r--r-- | .build.yml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/.build.yml b/.build.yml new file mode 100644 index 0000000..0dfec7d --- /dev/null +++ b/.build.yml @@ -0,0 +1,19 @@ +image: alpine/latest +oauth: pages.sr.ht/PAGES:RW + +packages: + - yarn + - nodejs + +environment: + site: a14m.me + +tasks: + - build: | + cd a14m.srht.site + yarn install + yarn build + tar -C public -cvz . > ../site.tar.gz + + - upload: | + acurl -f https://pages.sr.ht/publish/$site [email protected] |
