This repository has been archived by the owner on Dec 14, 2024. It is now read-only.
Regularly Note Post #11627
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
name: Regularly Note Post | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '*/10 * * * *' | |
jobs: | |
Send_Note: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v3 | |
with: | |
python-version: '3.10' | |
- name: Python Install | |
run: | | |
python -m pip install --upgrade pip | |
pip install Misskey.py | |
pip install atproto | |
- name: Create Note | |
env: | |
MISSKEY_SERVER_ADDRESS: ${{ secrets.MISSKEY_SERVER_ADDRESS }} | |
MISSKEY_TOKEN: ${{ secrets.MISSKEY_TOKEN }} | |
BLUESKY_MAIL_ADDRESS: ${{ secrets.BLUESKY_MAIL_ADDRESS }} | |
BLUESKY_PASSWORD: ${{ secrets.BLUESKY_PASSWORD }} | |
run: | | |
python main.py |