Skip to content
This repository has been archived by the owner on Nov 14, 2023. It is now read-only.

Archive

Archive #25

Workflow file for this run

name: Test, deploy
on:
push:
branches:
- main
jobs:
test:
name: Test Warp server
runs-on: ubuntu-latest
steps:
- uses: davidB/rust-cargo-make@v1
- uses: actions/checkout@v2
- name: Run tests
run: cargo test
working-directory: vrl-web-server-warp
deploy:
name: Deploy VRL Web server
runs-on: ubuntu-latest
needs: [test]
steps:
- uses: actions/checkout@v2
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: flyctl deploy
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
FLY_PROJECT_PATH: vrl-web-server-warp