forked from tjmoon0104/demo-docker-angular
-
Notifications
You must be signed in to change notification settings - Fork 0
28 lines (22 loc) · 705 Bytes
/
workflow.yml
File metadata and controls
28 lines (22 loc) · 705 Bytes
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
name: Github Pages Deploy
on:
push:
branches:
- "master"
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.17]
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Install and build
working-directory: ./angular-crash-2021
run: npm install && npm run gh-build && cp dist/angular-crash/index.html dist/angular-crash/404.html
- name: Deploy
uses: JamesIves/github-pages-deploy-action@4.1.1
with:
branch: gh-pages # The branch the action should deploy to.
folder: angular-crash-2021/dist/angular-crash # The folder the action should deploy.