-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
5 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -113,10 +113,6 @@ jobs: | |
# Resize the image and convert to WebP format using npx sharp-cli | ||
sudo npx --yes sharp-cli -i ./image_file -o "$FOLDER_PATH/cover.webp" -f webp resize 250 250 --fit inside | ||
# Change the permissions to make creation of pull request possible | ||
# Check https://github.com/peter-evans/create-pull-request/issues/783 | ||
sudo chown -R $USER:$USER . | ||
# Clean up the original file | ||
sudo rm image_file | ||
- name: ✂️ Delete cover | ||
|
@@ -135,6 +131,11 @@ jobs: | |
node automatedTasks.mjs "$OPERATION" "$REQUEST" | ||
- name: 🤖 Update JSON files after this change | ||
run: npm run generate-api-json-files | ||
- name: 🐛 Fix permissionss to make creation of pull request possible | ||
run: | | ||
# Change the permissions to make creation of pull request possible | ||
# Check https://github.com/peter-evans/create-pull-request/issues/783 | ||
sudo chown -R $USER:$USER . | ||
- name: 💅 Create Pull Request | ||
id: cpr | ||
uses: peter-evans/[email protected] | ||
|