mirror of
https://github.com/samnyan/aqua-viewer.git
synced 2026-03-21 17:24:53 -05:00
Create main yml
This commit is contained in:
parent
e16b97e18e
commit
8f41121a27
25
.github/workflows/main.yml
vendored
Normal file
25
.github/workflows/main.yml
vendored
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
name: CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: '12.x'
|
||||
- name: Install Dependencies
|
||||
run: npm install
|
||||
- name: Deploy
|
||||
env:
|
||||
CI: true
|
||||
GH_TOKEN: ${{ secrets.PERSONAL_TOKEN }}
|
||||
run: npm run deploy -- --cname "aqua.samnyan.icu" --name="samnyan" --email=4137880+samnyan@users.noreply.github.com
|
||||
|
|
@ -7,7 +7,8 @@
|
|||
"build": "ng build",
|
||||
"test": "ng test",
|
||||
"lint": "ng lint",
|
||||
"e2e": "ng e2e"
|
||||
"e2e": "ng e2e",
|
||||
"deploy": "ng deploy"
|
||||
},
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user