Skip to content

Commit

Permalink
remove comment out
Browse files Browse the repository at this point in the history
  • Loading branch information
crane-hiromu committed Sep 28, 2024
1 parent e84644f commit 566c855
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/create_x_post.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,16 +46,16 @@ jobs:
echo "description: $DESCRIPTION"
echo "description=${DESCRIPTION}" >> $GITHUB_ENV
# - name: Install dependencies
# run: |
# pip install tweepy

# - name: Post article
# env:
# X_API_KEY: ${{ secrets.X_API_KEY }}
# X_API_KEY_SECRET: ${{ secrets.X_API_KEY_SECRET }}
# X_BEARER_TOKEN: ${{ secrets.X_BEARER_TOKEN }}
# X_ACCESS_TOKEN: ${{ secrets.X_ACCESS_TOKEN }}
# X_ACCESS_TOKEN_SECRET: ${{ secrets.X_ACCESS_TOKEN_SECRET }}
# X_POST_MESSAGE: "この投稿は自動化をテストしている投稿です!\n\niOS関連ニュースの第${{ env.latest_file_number }}回をお届けします🍣\n\nhttps://ios-osushi.github.io/posts/${{ env.latest_file_name }}/ \n#ios_osushi"
# run: python tweet.py
- name: Install dependencies
run: |
pip install tweepy
- name: Post article
env:
X_API_KEY: ${{ secrets.X_API_KEY }}
X_API_KEY_SECRET: ${{ secrets.X_API_KEY_SECRET }}
X_BEARER_TOKEN: ${{ secrets.X_BEARER_TOKEN }}
X_ACCESS_TOKEN: ${{ secrets.X_ACCESS_TOKEN }}
X_ACCESS_TOKEN_SECRET: ${{ secrets.X_ACCESS_TOKEN_SECRET }}
X_POST_MESSAGE: "この投稿は自動化をテストしている投稿です!\n\niOS関連ニュースの第${{ env.latest_file_number }}回をお届けします🍣\n\n${{ env.description }}\n\nhttps://ios-osushi.github.io/posts/${{ env.latest_file_name }}/ \n#ios_osushi"
run: python tweet.py

0 comments on commit 566c855

Please sign in to comment.