-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
28 changed files
with
443 additions
and
331 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: send-news | ||
|
||
on: | ||
schedule: | ||
- cron: '0 3 * * *' # At KST 12:00 (UTC 03:00) everyday | ||
workflow_dispatch: | ||
|
||
jobs: | ||
send-news: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
|
||
- name: Install Packages | ||
run: yarn | ||
|
||
- name: Build | ||
run: yarn build | ||
|
||
- name: Execute Send News | ||
working-directory: examples | ||
run: ../.scripts/sendNews.sh | ||
env: | ||
THECAMP_ID: ${{ secrets.THECAMP_ID }} | ||
THECAMP_PW: ${{ secrets.THECAMP_PW }} |
Oops, something went wrong.