Skip to content

Commit 607c007

Browse files
committed
chore(test): fixed typos to trigger action
1 parent 3478db6 commit 607c007

File tree

1 file changed

+24
-24
lines changed

1 file changed

+24
-24
lines changed

.github/workflows/test_on_domains.yml

+24-24
Original file line numberDiff line numberDiff line change
@@ -9,31 +9,31 @@ on:
99
jobs:
1010
test-domains:
1111

12-
if: contains(github.event.head_commit.message, 'test')
12+
if: ${{ github.event.head_commit.message =~ '(?i)test' }}
1313

1414
runs-on: ubuntu-latest
1515

1616
steps:
17-
- uses: actions/checkout@v3
18-
- name: Install dependencies
19-
run: |
20-
wget -q https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb > /dev/null
21-
sudo dpkg -i google-chrome-stable_current_amd64.deb > /dev/null
22-
sudo apt-get install -f -y > /dev/null
23-
- name: install hxn
24-
run: |
25-
cargo build --release
26-
mv -iv target/release/hxn /usr/local/bin/hxn
27-
- name: Get domains
28-
run: |
29-
curl -s https://raw.githubusercontent.com/Azathothas/CertStream-Domains/main/Data/np_ccTLDs/certstream_domains_np_all_24h_httpx.txt | awk '{print $1}' | grep -i 'http' >> urls.txt
30-
- name: Take screenshots
31-
run: hxn -b $(which google-chrome) -f urls.txt -t 50 --timeout 100
32-
- name: Count files in hxnshots
33-
run: |
34-
num_files=$(ls -1q hxnshots | wc -l)
35-
echo "Number of files in hxnshots: $num_files"
36-
- name: Calculate directory size
37-
run: |
38-
size=$(du -sh hxnshots | awk '{print $1}')
39-
echo "Size of the directory: $size"
17+
- uses: actions/checkout@v3
18+
- name: Install dependencies
19+
run: |
20+
wget -q https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb > /dev/null
21+
sudo dpkg -i google-chrome-stable_current_amd64.deb > /dev/null
22+
sudo apt-get install -f -y > /dev/null
23+
- name: install hxn
24+
run: |
25+
cargo build --release
26+
mv -iv target/release/hxn /usr/local/bin/hxn
27+
- name: Get domains
28+
run: |
29+
curl -s https://raw.githubusercontent.com/Azathothas/CertStream-Domains/main/Data/np_ccTLDs/certstream_domains_np_all_24h_httpx.txt | awk '{print $1}' | grep -i 'http' >> urls.txt
30+
- name: Take screenshots
31+
run: hxn -b $(which google-chrome) -f urls.txt -t 50 --timeout 100
32+
- name: Count files in hxnshots
33+
run: |
34+
num_files=$(ls -1q hxnshots | wc -l)
35+
echo "Number of files in hxnshots: $num_files"
36+
- name: Calculate directory size
37+
run: |
38+
size=$(du -sh hxnshots | awk '{print $1}')
39+
echo "Size of the directory: $size"

0 commit comments

Comments
 (0)