Skip to content
Snippets Groups Projects
Commit 7d49e11a authored by agata's avatar agata
Browse files

Update README.md

parent ae669f4d
No related branches found
No related tags found
No related merge requests found
......@@ -5,12 +5,12 @@ Repository for common Gitlab CI rules to replease PHP Composer pacakges.
# Usage
- Make sure that the Package Repository is enabled for the project
- Make sure that the Package Repository is enabled for the project
- Set up an Access Token for the project (PHP Composer Repository does not support Deploy Tokens yet)
* In the project setting, Create an Access Token with api, read_registry, write_registry permissions
* Save the value of the token as a project variable called ```REGISTRY_TOKEN```
* [Save](https://git.autistici.org/noblogs/theme-bp-default/-/settings/ci_cd) the value of the token as a project variable called ```REGISTRY_TOKEN```
- Set up a project's *.gitlab-ci.yml* file with this include rule:
```yaml
include: "https://git.autistici.org/noblogs/composer-publish/raw/master/common.yml"
```
\ No newline at end of file
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment