Skip to content

Commit

Permalink
chore: add espruino / banglejs as submodules
Browse files Browse the repository at this point in the history
  • Loading branch information
amoshydra committed Feb 17, 2024
1 parent 25ab58d commit 7db8eb0
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,24 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
token: ${{ secrets.PAT_TOKEN }}
- name: Set up Node
uses: actions/setup-node@v3
with:
node-version: 18
cache: 'npm'
- name: Install dependencies
run: npm install
- name: AppJson
run: |
cd public/externals/espruino/BangleApps
cp $(which node) ./bin/nodejs
export PATH="$PATH:$PWD/bin"
./bin/create_apps_json.sh apps.json
./bin/pre-publish.sh
shell: bash
- name: Build
run: npm run build
env:
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "public/externals/espruino/BangleApps"]
path = public/externals/espruino/BangleApps
url = git@github.com:espruino/BangleApps.git
1 change: 1 addition & 0 deletions public/externals/espruino/BangleApps
Submodule BangleApps added at 68e78e

0 comments on commit 7db8eb0

Please sign in to comment.