Skip to content

Merge pull request #7 from samilieberman/refactor/header #21

Merge pull request #7 from samilieberman/refactor/header

Merge pull request #7 from samilieberman/refactor/header #21

Workflow file for this run

name: GitHub Pages
on:
push:
branches: [ main ]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
persist-credentials: false
- name: Use Node 14
uses: actions/setup-node@v1
with:
node-version: 14.x
- name: Install
run: npm ci
- name: Build and Deploy
env:
NODE_ENV: production
# This is set automatically by github
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git config user.name "Automated"
git config user.email "[email protected]"
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/samilieberman/samilieberman.github.io.git
npm run deploy