Skip to content
Snippets Groups Projects

Test

1 file
+ 5
4
Compare changes
  • Side-by-side
  • Inline
+ 5
4
# The Docker image that will be used to build your app
image: rust
image: alpine
# Functions that should be executed before the build script is run
before_script:
- wget -qO-
https://github.com/thedodd/trunk/releases/latest/download/trunk-x86_64-unknown-linux-gnu.tar.gz
| tar -xzf-
- wget -qO- https://github.com/thedodd/trunk/releases/latest/download/trunk-x86_64-unknown-linux-gnu.tar.gz | tar -xzf-
- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
- rustup target add wasm32-unknown-unknown
pages:
script:
- ./trunk build --release --public-url "$CI_PAGES_URL"
- mv dist public
artifacts:
paths:
# The folder that contains the files to be exposed at the Page URL
Loading