Compare commits

...

3 Commits

Author SHA1 Message Date
8a22f0f9db Update amazon mailer to 5.2 2023-12-16 16:08:25 +00:00
5b4b99d914 Add mailer Amazon SES 2023-12-10 18:50:04 +01:00
88cd6263bc Adapt the github action release to make it work with Gitea 2023-12-10 18:50:04 +01:00
7 changed files with 684 additions and 417 deletions

View File

@ -33,7 +33,9 @@ jobs:
run: make release VERSION=${{ github.event.release.tag_name }}
- name: Upload the package to the release
uses: shogo82148/actions-upload-release-asset@v1
uses: pierrotdelalune/Form_Data_HTTP_POST_Action@main
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: /tmp/wllbg-release/wallabag-${{ github.event.release.tag_name }}.tar.gz
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 }}.tar.gz

1
.secrets.EXAMPLE Normal file
View File

@ -0,0 +1 @@
GITEA_TOKEN=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

7
README_GITEA.txt Normal file
View File

@ -0,0 +1,7 @@
1. Copy release_event.json.EXAMPLE to elease_event.json and adapt it
2. Copy .secrets.EXAMPLE to .secrets and adapt it
3. Run
$ act release -e release_event.json
or
$ act release -e release_event.json --pull=false
to avoid pulling act image at each run

View File

@ -130,6 +130,7 @@
"symfony/form": "^4.4",
"symfony/framework-bundle": "^4.4",
"symfony/google-mailer": "^4.4",
"symfony/amazon-mailer": "^5.2",
"symfony/http-foundation": "^4.4",
"symfony/http-kernel": "^4.4",
"symfony/mailer": "^4.4",

1075
composer.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,7 @@
{
"release" :
{
"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