Skip to content

Commit

Permalink
Added: Testing to fly deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
onelikeandidie committed Mar 12, 2024
1 parent 6b688d9 commit 2e0f604
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/fly-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,16 @@ jobs:
environment: production
steps:
# Checkout to repo
- uses: actions/checkout@v2
- uses: actions/checkout@v4
# Initialize fly.io CLI
- uses: superfly/flyctl-actions/setup-flyctl@master
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
- run: npm install
- run: npm run build
- run: npm run test
# Deploy to fly.io with a remote runner
- run: flyctl deploy --remote-only
env:
Expand Down

0 comments on commit 2e0f604

Please sign in to comment.