Skip to content
Snippets Groups Projects
Commit c21ba78b authored by Albin Heimerson's avatar Albin Heimerson
Browse files

Update .gitlab-ci.yml file

parent accdfcdc
No related branches found
No related tags found
1 merge request!3Test
# 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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment