Skip to content

Commit

Permalink
chore: update example in docs, extend dependabot config
Browse files Browse the repository at this point in the history
Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
  • Loading branch information
kbdharun committed Jul 4, 2024
1 parent e4cdbf8 commit 910ad7f
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 17 deletions.
4 changes: 4 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,7 @@ updates:
directory: "/"
schedule:
interval: "monthly"
- package-ecosystem: "npm"
directory: "docs/website/"
schedule:
interval: "monthly"
39 changes: 22 additions & 17 deletions docs/website/src/examples.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -35,22 +35,26 @@ stages:
DEBIAN_FRONTEND: noninteractive
expose:
"3000": ""
entrypoint: ["node", "/app/app.js"]
entrypoint:
exec:
- node
- /app/app.js
runs:
- echo 'APT::Install-Recommends "0";' > /etc/apt/apt.conf.d/01norecommends
commands:
- echo 'APT::Install-Recommends "0";' > /etc/apt/apt.conf.d/01norecommends
modules:
- name: build-app
type: shell
source:
type: git
url: https://github.com/mirkobrombin/node-sample
branch: main
commit: latest
commands:
- mv /sources/build-app /app
- cd /app
- npm i
- npm run build
- name: build-app
type: shell
source:
type: git
url: https://github.com/mirkobrombin/node-sample
branch: main
commit: latest
commands:
- mv /sources/build-app /app
- cd /app
- npm i
- npm run build
</code></pre>
</div>
<p class="text-xl text-white mt-6">
Expand Down Expand Up @@ -83,11 +87,12 @@ stages:
args:
DEBIAN_FRONTEND: noninteractive
runs:
- echo 'APT::Install-Recommends "0";' > /etc/apt/apt.conf.d/01norecommends
commands:
- echo 'APT::Install-Recommends "0";' > /etc/apt/apt.conf.d/01norecommends
modules:
- name: update
type: shell
commands:
type: shell
commands:
- apt update

- name: vib
Expand Down

0 comments on commit 910ad7f

Please sign in to comment.