Skip to content

Commit

Permalink
Add check to workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
wzshiming committed Sep 10, 2021
1 parent 5e23750 commit 5a76dd9
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -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
4 changes: 4 additions & 0 deletions scripts/check-image.sh
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 5a76dd9

Please sign in to comment.