FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
source-code-hunter/.github/workflows/compress.yml at main · Black-J-Code/source-code-hunter · GitHub
Black-J-Code
/
source-code-hunter
Public
forked from
doocs/source-code-hunter
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
source-code-hunter
/
.github
/
workflows
/
compress.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
35 lines (30 loc) · 832 Bytes
Breadcrumbs
source-code-hunter
/
.github
/
workflows
/
compress.yml
Copy path
File metadata and controls
35 lines (30 loc) · 832 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name
:
Compress
on
:
push
:
branches
:
[main]
paths
:
-
"
**.jpg
"
-
"
**.jpeg
"
-
"
**.png
"
-
"
**.webp
"
jobs
:
compress
:
runs-on
:
ubuntu-latest
if
:
github.repository == 'doocs/source-code-hunter'
steps
:
-
name
:
Checkout Branch
uses
:
actions/checkout@v2
-
name
:
Compress Images
uses
:
calibreapp/image-actions@master
with
:
githubToken
:
${{ secrets.GITHUB_TOKEN }}
compressOnly
:
true
-
name
:
Commit Files
run
:
|
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git commit -m "[Automated] Optimize images" -a
-
name
:
Push Changes
uses
:
ad-m/github-push-action@master
with
:
github_token
:
${{ secrets.GITHUB_TOKEN }}
Back
|
FazBrowse Home
|
New Git URL