Skip to content

Fix #1

Fix #1 #28

# This file was auto generated by the uix git_deploy plugin. Do not manually edit.
name: Deploy prod
on: push
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: "actions/checkout@v3"
- name: Setup Deno
uses: "denoland/setup-deno@v1"
- name: Run Tests
run: "deno run -Aq --import-map ./importmap.json https://cdn.unyt.org/unyt-tests/run.ts -s --reportfile testreport.xml"
- name: Publish Test Report
uses: "mikepenz/action-junit-report@v3"
if: "success() || failure()"
with:
report_paths: testreport.xml
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: "actions/checkout@v3"
with:
submodules: recursive
- name: Setup Deno
uses: "denoland/setup-deno@v1"
- name: Deploy UIX App
run: "deno run --importmap ./importmap.json -Aqr https://cdn.unyt.org/[email protected]/run.ts --stage prod --detach"
needs: test