Skip to content

Commit

Permalink
add workflow_dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
TanmoySG committed Sep 8, 2024
1 parent e57edf1 commit ea34362
Showing 1 changed file with 15 additions and 12 deletions.
27 changes: 15 additions & 12 deletions .github/workflows/railway-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,21 @@ jobs:
- name: Checkout
uses: actions/checkout@v2

- name: Use Node 12
uses: actions/setup-node@v1
with:
node-version: 12.x
- name: Install Railway
uses: brew install railway

- name: Install packages
run: yarn install --frozen-lockfile
# - name: Use Node 12
# uses: actions/setup-node@v1
# with:
# node-version: 12.x

- name: Install Railway
run: npm i -g @railway/cli
# - 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 }}
# - name: Deploy
# run: railway up
# env:
# RAILWAY_TOKEN: ${{ secrets.RAILWAY_TOKEN }}

0 comments on commit ea34362

Please sign in to comment.