Commit Graph

6 Commits

Author SHA1 Message Date
Edd
47f1f73582 Update workflow to remove pre-script nx affected 2022-04-11 18:55:59 +01:00
Edd
bfdb1e0b62 Rewrite ipfs-deploy to work differently
Feedback on the initial PR pointed out the flaw that just assuming
that the previous commit was HEAD~1 would be inaccurate, so this
rewrite instead fetches the appropriate commit for each Fleek project,
does the appropriate nx affected call, and triggers a deploy.

This allows for each project to independently get deployed only when
there is a change that affects it on master.

The script is written to have no dependencies, and lazily uses curl
instead of node http. It feels a bit icky, but for a build script feels
reasonable. Also as the header comment notes, it seems like an nx build
script would be more appropriate, but because it needs the appropriate
commit for each project, I resorted to a shell script.

- Rewrite ./tools/ipfs-deploy.js
2022-04-11 18:51:32 +01:00
Edd
0e13248bee Address review comments 2022-04-11 14:54:10 +01:00
Edd
32cef6ef0c Genericise tool name, add workflow 2022-04-11 12:42:22 +01:00
Edd
463bb2e360 Add fleek file for stats, and script to run it if affected 2022-04-11 12:12:40 +01:00
Bartłomiej Głownia
355de1a32f Create a Mono-repo for DeFiUI + ui toolkit using nx 2022-02-11 15:02:11 +01:00