-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
682877a
commit 7a5deb5
Showing
3 changed files
with
236 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -245,7 +245,26 @@ pages: | |
|
||
build_for_release: | ||
stage: release | ||
<<: *build | ||
tags: | ||
- docker | ||
image: node:20.3.0-slim | ||
cache: | ||
<<: *global_cache | ||
before_script: | ||
- apt-get update -y | ||
- apt-get install git -y | ||
- npm ci --cache .npm --prefer-offline | ||
script: | ||
- npm run build | ||
- cp -rp dist/* public | ||
# prepare remote repositories | ||
- git config remote.origin.url >&- && git remote set-url origin https://$GITHUB_USERNAME:[email protected]/fixstars/amplify-benchmark-viewer.git || git remote add origin https://$GITHUB_USERNAME:[email protected]/fixstars/amplify-benchmark-viewer.git | ||
- git config user.email "[email protected]" | ||
- git config user.name "GitLab Bot" | ||
- npm run deploy | ||
artifacts: | ||
paths: | ||
- public | ||
only: | ||
refs: | ||
- tags | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters