This commit is contained in:
pierrotdelalune
2023-12-05 23:24:34 +01:00
parent f8bb46ac37
commit 3282d686bb
3 changed files with 6 additions and 6 deletions

View File

@ -33,9 +33,9 @@ jobs:
run: make release VERSION=${{ github.event.release.tag_name }}
- name: Upload the package to the release
uses: alikamal1/Form_Data_HTTP_POST_Action@main
uses: pierrotdelalune/Form_Data_HTTP_POST_Action@main
with:
url: ${{ github.event.release.upload_url }}
headers: '{"Authorization": "token xxxxxxxxxxxxxxxxxxx"}'
url: ${{ github.event.release.upload_url }}
headers: "{\"Authorization\": \"token ${{ secrets.GITEA_TOKEN }}\"}"
file: /tmp/wllbg-release/wallabag-${{ github.event.release.tag_name }}.tar.gz
name: wallabag-{{ github.event.release.tag_name }}_piere.tar.gz
name: wallabag-${{ github.event.release.tag_name }}.tar.gz

View File

@ -1,7 +1,7 @@
{
"release" :
{
"tag_name" : "2.6.7",
"tag_name" : "2.6.7_all_mailers",
"upload_url" : "https://gyokuro.ile-australe.eu/api/v1/repos/pierre/wallabag/releases/1918/assets"
}
}

View File

@ -9,7 +9,7 @@ ENV=$4
rm -rf "${TMP_FOLDER:?}"/"$RELEASE_FOLDER"
mkdir "$TMP_FOLDER"/"$RELEASE_FOLDER"
git clone https://github.com/wallabag/wallabag.git --single-branch --depth 1 --branch $1 "$TMP_FOLDER"/"$RELEASE_FOLDER"/"$VERSION"
git clone https://gyokuro.ile-australe.eu/pierre/wallabag.git --single-branch --depth 1 --branch $1 "$TMP_FOLDER"/"$RELEASE_FOLDER"/"$VERSION"
cd "$TMP_FOLDER"/"$RELEASE_FOLDER"/"$VERSION" && SYMFONY_ENV="$ENV" COMPOSER_MEMORY_LIMIT=-1 composer install -n --no-dev
cd "$TMP_FOLDER"/"$RELEASE_FOLDER"/"$VERSION" && php bin/console wallabag:install --env="$ENV" -n
cd "$TMP_FOLDER"/"$RELEASE_FOLDER"/"$VERSION" && php bin/console assets:install --env="$ENV" --symlink --relative