-
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.
Merge pull request #2 from emafazillah/development
Development
- Loading branch information
Showing
5 changed files
with
241 additions
and
22 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,199 @@ | ||
# Covid-19 Updates Bot | ||
Get Malaysia Covid-19 Updates. Data from 2019 Novel Coronavirus COVID-19 (2019-nCoV) Data Repository by Johns Hopkins CSSE, https://github.com/CSSEGISandData/COVID-19. Updates will be sent via Telegram. | ||
# Covid-19 Update Bot | ||
## Description | ||
Get Covid-19 Update by country. Data from 2019 Novel Coronavirus COVID-19 (2019-nCoV) Data Repository by Johns Hopkins CSSE, https://github.com/CSSEGISandData/COVID-19. Update will be sent via Telegram. | ||
|
||
## Example Usage | ||
Update `send-message.yml` as below; | ||
```YAML | ||
... | ||
- cron: '0 12 * * *' | ||
|
||
... | ||
env: | ||
TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }} | ||
TELEGRAM_TOKEN: ${{ secrets.TELEGRAM_TOKEN }} | ||
... | ||
COUNTRY: 'Malaysia' | ||
``` | ||
## List of Countries | ||
Country | | ||
:---| | ||
Afghanistan | ||
Albania | ||
Algeria | ||
Andorra | ||
Angola | ||
Antigua and Barbuda | ||
Argentina | ||
Armenia | ||
Australia | ||
Austria | ||
Azerbaijan | ||
Bahamas | ||
Bahrain | ||
Bangladesh | ||
Barbados | ||
Belarus | ||
Belgium | ||
Belize | ||
Benin | ||
Bhutan | ||
Bolivia | ||
Bosnia and Herzegovina | ||
Botswana | ||
Brazil | ||
Brunei | ||
Bulgaria | ||
Burkina Faso | ||
Burma | ||
Cabo Verde | ||
Cambodia | ||
Cameroon | ||
Canada | ||
Central African Republic | ||
Chad | ||
Chile | ||
China | ||
Colombia | ||
Congo (Brazzaville) | ||
Congo (Kinshasa) | ||
Costa Rica | ||
Cote d'Ivoire | ||
Croatia | ||
Cuba | ||
Cyprus | ||
Czechia | ||
Denmark | ||
Diamond Princess | ||
Djibouti | ||
Dominica | ||
Dominican Republic | ||
Ecuador | ||
Egypt | ||
El Salvador | ||
Equatorial Guinea | ||
Eritrea | ||
Estonia | ||
Eswatini | ||
Ethiopia | ||
Fiji | ||
Finland | ||
France | ||
Gabon | ||
Gambia | ||
Georgia | ||
Germany | ||
Ghana | ||
Greece | ||
Grenada | ||
Guatemala | ||
Guinea | ||
Guinea-Bissau | ||
Guyana | ||
Haiti | ||
Holy See | ||
Honduras | ||
Hungary | ||
Iceland | ||
India | ||
Indonesia | ||
Iran | ||
Iraq | ||
Ireland | ||
Israel | ||
Italy | ||
Jamaica | ||
Japan | ||
Jordan | ||
Kazakhstan | ||
Kenya | ||
Korea, South | ||
Kosovo | ||
Kuwait | ||
Kyrgyzstan | ||
Laos | ||
Latvia | ||
Lebanon | ||
Liberia | ||
Libya | ||
Liechtenstein | ||
Lithuania | ||
Luxembourg | ||
Madagascar | ||
Malaysia | ||
Maldives | ||
Mali | ||
Malta | ||
Mauritania | ||
Mauritius | ||
Mexico | ||
Moldova | ||
Monaco | ||
Mongolia | ||
Montenegro | ||
Morocco | ||
Mozambique | ||
MS Zaandam | ||
Namibia | ||
Nepal | ||
Netherlands | ||
New Zealand | ||
Nicaragua | ||
Niger | ||
Nigeria | ||
North Macedonia | ||
Norway | ||
Oman | ||
Pakistan | ||
Panama | ||
Papua New Guinea | ||
Paraguay | ||
Peru | ||
Philippines | ||
Poland | ||
Portugal | ||
Qatar | ||
Romania | ||
Russia | ||
Rwanda | ||
Saint Kitts and Nevis | ||
Saint Lucia | ||
Saint Vincent and the Grenadines | ||
San Marino | ||
Saudi Arabia | ||
Senegal | ||
Serbia | ||
Seychelles | ||
Singapore | ||
Slovakia | ||
Slovenia | ||
Somalia | ||
South Africa | ||
Spain | ||
Sri Lanka | ||
Sudan | ||
Suriname | ||
Sweden | ||
Switzerland | ||
Syria | ||
Taiwan* | ||
Tanzania | ||
Thailand | ||
Timor-Leste | ||
Togo | ||
Trinidad and Tobago | ||
Tunisia | ||
Turkey | ||
Uganda | ||
Ukraine | ||
United Arab Emirates | ||
United Kingdom | ||
Uruguay | ||
US | ||
Uzbekistan | ||
Venezuela | ||
Vietnam | ||
West Bank and Gaza | ||
Zambia | ||
Zimbabwe |
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 |
---|---|---|
@@ -1,13 +1,13 @@ | ||
name: 'GitHub Action for COVID-19 Updates' | ||
description: 'Get Malaysian Covid-19 Updates. Data from 2019 Novel Coronavirus COVID-19 (2019-nCoV) Data Repository by Johns Hopkins CSSE.' | ||
description: 'Get Covid-19 Update by country. Data from 2019 Novel Coronavirus COVID-19 (2019-nCoV) Data Repository by Johns Hopkins CSSE.' | ||
inputs: | ||
who-to-greet: # id of input | ||
description: 'Yesterday date' | ||
required: true | ||
default: 'Yesterday date' | ||
outputs: | ||
time: # id of output | ||
description: 'COVID-19 Updates on confirmed, deaths, recovered and active.' | ||
description: 'COVID-19 Update on confirmed, deaths, recovered and active.' | ||
runs: | ||
using: 'node12' | ||
main: 'index.js' |
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