factorblue / module-disable-frontend
Disable Frontend
This package's canonical repository appears to be gone and the package has been frozen as a result.
dev-master
2021-05-03 12:32 UTC
This package is not auto-updated.
Last update: 2024-01-05 00:24:06 UTC
README
Deploying composer package
First you have to create auth.json
in the root of the project with your personal gitlab access token (User Settings > Profile > Access Tokens)
{
"gitlab-token": {
"git.factorblue.com": "<personal_token>"
}
}
Before a new version is available you have to add a tag.
git tag <version>
git push origin <version>
After that's done you can deploy the package like this:
curl --data tag=<version> "https://__token__:<personal_token>@git.factorblue.com/api/v4/projects/<project_id>/packages/composer"
The project id for this project is 193
Install via composer
In your composer.json
file add the following sections:
{
"config": {
...
"gitlab-domains": ["git.factorblue.com"]
},
...
"require": {
...
"factorblue/disable-frontend": "<version>"
},
...
"repositories": [
...
{
"type": "composer",
"url": "https://git.factorblue.com/api/v4/group/<group_id>/-/packages/composer/"
}
],
}
This project belongs to group id 23