Skip to content

Commit 691c229

Browse files
authored
Update README.md
Signed-off-by: Helene MJ <20780121+hjonin@users.noreply.github.com>
1 parent 6097999 commit 691c229

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,16 @@ npm run serve-sass
4040

4141
## Enpaquetage
4242

43-
L'empaquetage est automatisé via [`release.yml`](.github/workflows/release.yml).
43+
L'empaquetage est automatisé via [`release.yml`](.github/workflows/release.yml), qui crée une *Release* contenant l'archive des fichiers nécessaires à partir d'un *tag*.
4444

4545
Ce *workfow* nécessite un [secret de dépôt](https://docs.github.com/fr/actions/security-guides/using-secrets-in-github-actions#creating-secrets-for-a-repository) `GH_TOKEN` (peut être par exemple généré depuis un compte générique qui a un accès en écriture au dépôt), correspondant à un [token d'accès classique](https://docs.github.com/fr/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens#cr%C3%A9ation-dun-personal-access-token-classic), nécessitant le scope `repo`.
4646

47+
Il s'exécute automatiquement à l'envoi d'un *tag* qui correspond à un numéro de version (ex. `v.1.0.1`) :
48+
```
49+
npm version 1.0.1
50+
git push
51+
```
52+
4753
## Licence
4854

4955
Ce dépôt est publié sous licence [MIT](LICENSE.md).

0 commit comments

Comments
 (0)