1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-02 12:17:47 +01:00

Compare commits

...

2 Commits

Author SHA1 Message Date
703b73d98d
Configure git
Some checks failed
ci/woodpecker/tag/build Pipeline failed
ci/woodpecker/tag/deploy unknown status
2022-06-04 18:25:44 +02:00
fa1f02cf00
Fix 2022-06-04 18:03:51 +02:00
3 changed files with 10 additions and 4 deletions

View File

@ -16,7 +16,6 @@ clone:
depth: 1
lfs: false
recursive: false
tags: true
pipeline:
build:

View File

@ -8,7 +8,6 @@ clone:
depth: 1
lfs: false
recursive: false
tags: true
pipeline:
deploy:

View File

@ -11,6 +11,9 @@ COMMIT="$(git log -1 --pretty=%H)"
BRANCH=$(git rev-parse --abbrev-ref HEAD)
COMMIT_MESSAGE="$(git log -1 --pretty=%B HEAD)"
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --global user.name "Github Actions"
echo "PHP: $php"
echo "Branch: $BRANCH"
echo "Commit: $COMMIT"
@ -56,9 +59,14 @@ echo '{
{
"type": "path",
"url": "'$madelinePath'",
"options":{"symlink": false}
"options": {"symlink": false}
}
]
],
"config": {
"allow-plugins": {
"phabel/phabel": true
}
}
}' > composer.json
php $(which composer) update --no-cache
php $(which composer) dumpautoload --optimize