Skip to content

Commit

Permalink
Create main yml
Browse files Browse the repository at this point in the history
  • Loading branch information
samnyan committed Feb 1, 2020
1 parent e16b97e commit 8f41121
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
25 changes: 25 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -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 protected]
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down

0 comments on commit 8f41121

Please sign in to comment.