Skip to content

feat: prepare for open source #45

feat: prepare for open source

feat: prepare for open source #45

name: 'Deploy Content Services'
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
strategy:
matrix:
service: [content-api, "content:worker"]
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Check turbo-ignore for changes
id: turbo_ignore
continue-on-error: true
run: |
npx turbo-ignore content-api
- name: Railway Deploy
if: steps.turbo_ignore.outcome == 'failure'
uses: bervProject/[email protected]
with:
railway_token: ${{ secrets.RAILWAY_TOKEN }}
service: ${{ matrix.service }}