Skip to content

install git sublmodules #7

install git sublmodules

install git sublmodules #7

Workflow file for this run

name: ci
on:
push:
branches:
- main
jobs:
example:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Setup example
run: |
mkdir -p example/.fluentci
cp -r src example/.fluentci
cp Cargo.toml example/.fluentci
cp Cargo.lock example/.fluentci
git submodule update --init --recursive --remote
- name: Setup Fluent CI CLI
uses: fluentci-io/setup-fluentci@v5
with:
wasm: true
plugin: .
args: |
build -s ../demo -d ../demo/public
working-directory: example
env:
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Show hugo version
run: |
ls -l demo/public
type hugo
hugo version