Skip to content

project icons, semantic html, cleanup #5

project icons, semantic html, cleanup

project icons, semantic html, cleanup #5

Workflow file for this run

name: Deploy
on:
push:
branches:
- master
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set Up Node
uses: actions/setup-node@v3
with:
node-version: 17
- name: NPM Install
run: npm ci
- name: Build
run: npm run build
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: prod-files
path: ./dist
deploy:
name: Deploy
needs: build
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
steps:
- name: Download Artifact
uses: actions/download-artifact@v3
with:
name: prod-files
path: ./dist
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist
cname: docoliver.dev