Skip to content

Merge pull request #103 from iamtommetcalfe/dependabot/npm_and_yarn/v… #127

Merge pull request #103 from iamtommetcalfe/dependabot/npm_and_yarn/v…

Merge pull request #103 from iamtommetcalfe/dependabot/npm_and_yarn/v… #127

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Deploy
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GH_ACTION }}
publish_dir: ./dist
user_name: 'github-actions[bot]'
user_email: 'github-actions[bot]@users.noreply.github.com'
commit_message: 'Deploy to GitHub Pages'
cname: 'iamtommetcalfe.com'