Skip to content

Commit

Permalink
docs/fix: update other syntax for new Vib version
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 7a1d002 commit 2041ecb
Showing 1 changed file with 18 additions and 16 deletions.
34 changes: 18 additions & 16 deletions docs/website/src/examples.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -40,20 +40,21 @@ stages:
- 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 @@ -86,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 2041ecb

Please sign in to comment.