Skip to content

Post new release on SNS accounts #69

Post new release on SNS accounts

Post new release on SNS accounts #69

Workflow file for this run

name: Post new release on SNS accounts
on: page_build
jobs:
update:
name: Tweet new release
runs-on: ubuntu-latest
env:
TZ: Asia/Tokyo
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_READONLY_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TWITTER_API_KEY: ${{ secrets.TWITTER_API_KEY }}
TWITTER_API_KEY_SECRET: ${{ secrets.TWITTER_API_KEY_SECRET }}
TWITTER_ACCESS_TOKEN: ${{ secrets.TWITTER_ACCESS_TOKEN }}
TWITTER_ACCESS_TOKEN_SECRET: ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }}
TWITTER_SCREEN_NAME: AndroidDagashi
BLUESKY_IDENTIFIER: androiddagashi.bsky.social
BLUESKY_PASSWORD: ${{ secrets.BLUESKY_PASSWORD }}
steps:
- uses: actions/checkout@v4
with:
ref: development
- uses: actions/setup-node@v4
with:
node-version-file: '.node-version'
cache: 'yarn'
- name: setup Firebase
run: echo ${{ secrets.FIREBASE_JSON }} | base64 -d > ./androiddagashi-serviceaccount.json
- name: yarn install
run: yarn install
- name: update SNS if not already
run: yarn sns:update