Add check to workflows

This commit is contained in:
Shiming Zhang 2021-09-10 19:24:29 +08:00
parent 5e23750c02
commit 5a76dd9b94
2 changed files with 19 additions and 0 deletions

15
.github/workflows/check.yml vendored Normal file
View File

@ -0,0 +1,15 @@
name: "Check Image"
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * *"
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Check
run: |
./scripts/check-image.sh

View File

@ -1,5 +1,9 @@
#!/usr/bin/env bash
set -o errexit
set -o nounset
set -o pipefail
declare -A DOMAIN_MAP=()
for line in $(cat ./domain.txt); do