Skip to content

Merge pull request #28 from Iteam1337/feat/serve #121

Merge pull request #28 from Iteam1337/feat/serve

Merge pull request #28 from Iteam1337/feat/serve #121

Workflow file for this run

name: Publish to Github Pages
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
on:
push:
branches: ['main']
# Publish semver tags as releases.
tags: ['v*.*.*']
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v2
- name: Install dependencies
run: npm install
- name: Git user config
run: git config --global user.email "registry@iteam.se"
- name: Git user config
run: git config --global user.name "ghpages bot"
- name: Publish to Github Pages
run: npm run deploy