forked from SocialGouv/template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: beautify stat tiles * wip * wip * wip * markdown * lint * test * lint * cypress * e2e * e2e * ci * skiplinks * cypress * fix: base link * ci: disable jekyll
- Loading branch information
Showing
41 changed files
with
4,290 additions
and
1,786 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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
NEXT_TELEMETRY_DISABLED=1 | ||
NEXT_PUBLIC_SITE_URL="" | ||
NEXT_PUBLIC_SENTRY_DSN="https://[email protected]/68" | ||
NEXT_PUBLIC_SENTRY_DSN="https://xxx/yy" | ||
NEXT_PUBLIC_SENTRY_ENV="dev" | ||
NEXT_PUBLIC_MATOMO_URL="" | ||
NEXT_PUBLIC_MATOMO_SITE_ID="" | ||
NEXT_PUBLIC_APP_REPOSITORY_URL="https://github.com/SocialGouv/template" | ||
NEXT_PUBLIC_APP_REPOSITORY_URL="https://github.com/betagouv/template" |
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 |
---|---|---|
@@ -1,7 +1,8 @@ | ||
NEXT_TELEMETRY_DISABLED=1 | ||
NEXT_PUBLIC_SITE_URL="https://template.fabrique.social.gouv.fr/" | ||
NEXT_PUBLIC_SENTRY_DSN="https://[email protected]/68" | ||
NEXT_PUBLIC_SITE_URL="https://template.beta.gouv.fr/" | ||
NEXT_PUBLIC_SENTRY_DSN="https://xxx/yy" | ||
NEXT_PUBLIC_SENTRY_ENV="production" | ||
NEXT_PUBLIC_MATOMO_URL="https://matomo.fabrique.social.gouv.fr" | ||
NEXT_PUBLIC_MATOMO_URL="https:/stats.beta.gouv.fr" | ||
NEXT_PUBLIC_MATOMO_SITE_ID=63 | ||
NEXT_PUBLIC_APP_REPOSITORY_URL="https://github.com/SocialGouv/template" | ||
NEXT_PUBLIC_APP_REPOSITORY_URL="https://github.com/betagouv/template" | ||
PRODUCTION=true |
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
NEXT_TELEMETRY_DISABLED=1 | ||
NEXT_PUBLIC_SITE_URL="https://template.fabrique.social.gouv.fr/" | ||
NEXT_PUBLIC_SENTRY_DSN="https://[email protected]/68" | ||
NEXT_PUBLIC_SENTRY_ENV="development" | ||
NEXT_PUBLIC_SITE_URL="https://template.incubateur.net/" | ||
NEXT_PUBLIC_SENTRY_DSN="https://xxx/yy" | ||
NEXT_PUBLIC_SENTRY_ENV="staging" | ||
NEXT_PUBLIC_MATOMO_URL="" | ||
NEXT_PUBLIC_MATOMO_SITE_ID="" | ||
NEXT_PUBLIC_APP_REPOSITORY_URL="https://github.com/SocialGouv/template" | ||
NEXT_PUBLIC_APP_REPOSITORY_URL="https://github.com/betagouv/template" |
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
name: Storybook | ||
name: Deploy demo | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
branches: [main, next] | ||
|
||
concurrency: | ||
cancel-in-progress: true | ||
group: storybook-${{ github.ref }} | ||
group: deploy-${{ github.ref }} | ||
|
||
jobs: | ||
storybook: | ||
name: Deployment storybook on gh-pages | ||
build: | ||
name: Deployment demo on gh-pages | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
|
@@ -26,9 +26,14 @@ jobs: | |
run: | | ||
yarn --immutable | ||
- name: Deploy | ||
- name: Build | ||
run: | | ||
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git | ||
yarn storybook:deploy:action | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
yarn build | ||
touch out/.nojekyll | ||
# deploy build to gh-pages | ||
- name: Deploy 🚀 | ||
uses: JamesIves/[email protected] | ||
with: | ||
branch: gh-pages | ||
folder: out |
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
yarn lint-staged | ||
exec < /dev/tty; yarn node-talisman --githook pre-commit -i | ||
if sh -c ': >/dev/tty' >/dev/null 2>/dev/null; then | ||
exec </dev/tty; yarn node-talisman --githook pre-commit -i; | ||
else | ||
yarn node-talisman --githook pre-commit; | ||
fi |
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
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
Oops, something went wrong.