Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Signature GPG
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pub
Gitlab Share
Signature GPG
Commits
9c05c524
Verified
Commit
9c05c524
authored
3 years ago
by
Geoffrey Arthaud
Browse files
Options
Downloads
Patches
Plain Diff
Essai pipeline
parent
a3b5f4ae
No related branches found
No related tags found
No related merge requests found
Pipeline
#26759
passed
3 years ago
Stage: build
Stage: deploy
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+24
-0
24 additions, 0 deletions
.gitlab-ci.yml
gatsby-config.js
+5
-3
5 additions, 3 deletions
gatsby-config.js
package.json
+1
-1
1 addition, 1 deletion
package.json
with
30 additions
and
4 deletions
.gitlab-ci.yml
0 → 100644
+
24
−
0
View file @
9c05c524
image
:
node:lts-alpine
variables
:
npm_config_cache
:
"
$CI_PROJECT_DIR/.npm"
NODE_ENV
:
"
ci"
cache
:
paths
:
-
.npm
check_install_static
:
stage
:
build
script
:
-
npm ci --prefer-offline
pages
:
stage
:
deploy
script
:
-
npm ci --prefer-offline
-
npm run build
artifacts
:
paths
:
-
public
expire_in
:
1 day
This diff is collapsed.
Click to expand it.
gatsby-config.js
+
5
−
3
View file @
9c05c524
module
.
exports
=
{
siteMetadata
:
{
title
:
`Le produit numérique dont vous êtes les héros !`
,
siteUrl
:
`https://www.yourdomain.tld`
,
siteUrl
:
"
https://snum.gitlab-pages.din.developpement-durable.gouv.fr/dam/gitlab/signature-gpg/
"
,
title
:
"
Signature GPG démo
"
,
},
pathPrefix
:
"
/dam/gitlab/signature-gpg
"
,
plugins
:
[],
}
}
;
This diff is collapsed.
Click to expand it.
package.json
+
1
−
1
View file @
9c05c524
...
...
@@ -10,7 +10,7 @@
"scripts"
:
{
"develop"
:
"gatsby develop"
,
"start"
:
"gatsby develop"
,
"build"
:
"gatsby build && copy-files-from-to"
,
"build"
:
"gatsby build
--prefix-paths
&& copy-files-from-to"
,
"serve"
:
"gatsby serve"
,
"clean"
:
"gatsby clean"
},
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment