Skip to content

add workflow_dispatch #7

add workflow_dispatch

add workflow_dispatch #7

name: Railway Deploy
on:
workflow_dispatch:
workflow_run:
workflows:
- TagDeploy
types:
- completed
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install Railway
uses: brew install railway
# - name: Use Node 12
# uses: actions/setup-node@v1
# with:
# node-version: 12.x
# - name: Install packages
# run: yarn install --frozen-lockfile
# - name: Install Railway
# run: npm i -g @railway/cli
# - name: Deploy
# run: railway up
# env:
# RAILWAY_TOKEN: ${{ secrets.RAILWAY_TOKEN }}