-
-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (32 loc) · 1.02 KB
/
uix-deploy-prod.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# 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