-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use main.py and some other file name changes and code movement
- Loading branch information
1 parent
170a458
commit d66b010
Showing
5 changed files
with
456 additions
and
412 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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Post event into chat room | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
message: | ||
description: 'Message' | ||
required: true | ||
room: | ||
description: 'Room' | ||
required: false | ||
default: '152883' | ||
jobs: | ||
send_message: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install required packages | ||
run: | | ||
python3 -m pip install --upgrade pip | ||
python3 -m pip install -r requirements.txt | ||
- name: Send Message | ||
run: python3 sendmsg.py | ||
env: | ||
email: ${{ secrets.BOT_EMAIL }} | ||
password: ${{ secrets.BOT_PASSWORD }} | ||
message: ${{ inputs.message }} | ||
room: ${{ inputs.room }} |
Oops, something went wrong.