how migration cdk #199
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: Syncro articles with Dev.to | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
sync-article: | |
name: Check and Sync with dev.to | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v2 | |
- name: Setup Node | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '14' | |
cache: 'yarn' | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile | |
- name: Run Prettier | |
run: yarn run prettier:check | |
- name: Run Embedme | |
run: yarn run embedme:check | |
- name: Deploy to dev.to | |
run: DEV_TO_GIT_TOKEN=${{ secrets.DEV_TO_GIT_TOKEN }} yarn run publish |