制作包含文字的表情的时候会崩溃 #104
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: MemeBot | |
on: | |
issue_comment: | |
types: [created] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.issue.number || github.run_id }} | |
cancel-in-progress: false | |
jobs: | |
issue_commented: | |
name: Issue comment | |
if: startsWith(github.event.comment.body, '/') | |
runs-on: ubuntu-latest | |
container: | |
image: ghcr.io/meetwq/github-meme-bot:main | |
env: | |
APP_ID: ${{ secrets.MEME_APP_ID }} | |
PRIVATE_KEY: ${{ secrets.MEME_PRIVATE_KEY }} | |
SMMS_SECRET_TOKEN: ${{ secrets.SMMS_SECRET_TOKEN }} | |
BAIDU_TRANS_APPID: ${{ secrets.BAIDU_TRANS_APPID }} | |
BAIDU_TRANS_APIKEY: ${{ secrets.BAIDU_TRANS_APIKEY }} | |
steps: | |
- run: /app/start_memebot.sh |