Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit a9914a2

Browse files
add create github token step
1 parent b97c71a commit a9914a2

File tree

1 file changed

+16
-5
lines changed

1 file changed

+16
-5
lines changed

‎README.md

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
Convert 'view.jpg' to 'view.jxl' tool
33
![Xnip2025-01-09_17-31-17](https://github.com/user-attachments/assets/b5d853ed-74fb-4bae-9231-a9a0fde95bb3)
44

5-
65
## How to Use
76

87
### 1. Fork this Repository
@@ -11,7 +10,19 @@ To fork this repository, follow these steps:
1110
2. Click the "Fork" button in the upper right corner of the page.
1211
3. Select your GitHub account to create the fork.
1312

14-
### 2. Set Up `WITH_GITHUB_TOKEN` Action Secret
13+
### 2 Create a GitHub Token
14+
To create a GitHub token, follow these steps:
15+
1. Go to GitHub and log in to your account.
16+
2. Click on your profile picture in the upper right corner and select "Settings".
17+
3. In the left sidebar, click on "Developer settings".
18+
4. Click on "Personal access tokens" and then "Tokens (classic)".
19+
5. Click the "Generate new token" button.
20+
6. Fill in the "Note" field with a descriptive name for the token.
21+
7. Select the scopes or permissions you need for the token.
22+
8. Click the "Generate token" button.
23+
9. Copy the generated token and save it in a secure place.
24+
25+
### 3 Set Up `WITH_GITHUB_TOKEN` Action Secret
1526
To set up the `WITH_GITHUB_TOKEN` action secret in GitHub:
1627
1. Go to the repository page on GitHub.
1728
2. Click on the "Settings" tab.
@@ -20,7 +31,7 @@ To set up the `WITH_GITHUB_TOKEN` action secret in GitHub:
2031
5. Name the secret `WITH_GITHUB_TOKEN` and paste your GitHub token in the "Value" field.
2132
6. Click "Add secret".
2233

23-
### 3. Modify and Push Image
34+
### 4. Modify and Push Image
2435
To modify the image name and push it to GitHub:
2536
1. Rename your JPEG image to `view.jpg`.
2637
2. Place the `view.jpg` file in the `img` folder of the repository.
@@ -31,13 +42,13 @@ To modify the image name and push it to GitHub:
3142
git push origin main
3243
```
3344

34-
### 4. Create and Publish a Release
45+
### 5. Create and Publish a Release
3546
To create and publish a release on GitHub:
3647
1. Go to the repository page on GitHub.
3748
2. Click on the "Releases" tab.
3849
3. Click the "Draft a new release" button.
3950
4. Fill in the "Tag version" and "Release title" fields.
4051
5. Click the "Publish release" button.
4152

42-
### 5. Wait for GitHub Action to Complete
53+
### 6. Wait for GitHub Action to Complete
4354
After publishing the release, wait for the GitHub Action to complete. Once done, you will find the `jxl_file-${release_tag_name}.tar.gz` file containing the converted `.jxl` file on the release page created in step 4.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /