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
Branches
No related tags found
1 merge request!3Test
# The Docker image that will be used to build your app # 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 # Functions that should be executed before the build script is run
before_script: before_script:
- wget -qO- - wget -qO- https://github.com/thedodd/trunk/releases/latest/download/trunk-x86_64-unknown-linux-gnu.tar.gz | tar -xzf-
https://github.com/thedodd/trunk/releases/latest/download/trunk-x86_64-unknown-linux-gnu.tar.gz - curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
| tar -xzf- - rustup target add wasm32-unknown-unknown
pages: pages:
script: script:
- ./trunk build --release --public-url "$CI_PAGES_URL" - ./trunk build --release --public-url "$CI_PAGES_URL"
- mv dist public
artifacts: artifacts:
paths: paths:
# The folder that contains the files to be exposed at the Page URL # 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