Skip to content

Commit

Permalink
chore: change action shell script safety
Browse files Browse the repository at this point in the history
  • Loading branch information
jungeun-cho committed Sep 21, 2020
1 parent d611da2 commit 1889a02
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/detectRuntimeError.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: detect runtime error

on:
schedule:
- cron: "0 22 * * *"
- cron: "*/5 * * * *"
jobs:
detectError:
runs-on: ubuntu-latest
Expand All @@ -14,13 +14,10 @@ jobs:
node createConfigVariable.js
- name: set global error variable
run: |
errorVariable=`cat ./errorVariable.txt`
echo ::set-env name=ERROR_VARIABLE::$errorVariable
echo ::set-env name=ERROR_VARIABLE::$(head -n 1 ./errorVariable.txt)
- name: set url
shell: bash
run: |
url=`cat ./url.txt`
echo ::set-env name=URLS::$url
echo ::set-env name=URLS::$(head -n 1 ./url.txt)
- name: detect runtime error
uses: nhn/toast-ui.detect-runtime-error-actions@v1.0.1
with:
Expand Down

0 comments on commit 1889a02

Please sign in to comment.