Skip to content

Blog Deploy

Blog Deploy #6

Workflow file for this run

name: Blog Deploy
run-name: Blog Deploy
on:
push:
branches:
- main
paths-ignore:
- '**/README.md'
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: GithubPages Deploy
uses: enriikke/[email protected]
with:
access-token: ${{ secrets.GITHUB_TOKEN }}
deploy-branch: gh-pages
skip-publish: false
# - name: Set Git User
# run: |
# git config user.email "[email protected]"
# git config user.name "Jonny-Cho"
#
# - name: Run deploy
# run: |
# npm ci
# npm run deploy
# - name: Setup Node
# uses: actions/setup-node@v3
# with:
# node-version-file: '.nvmrc'
# cache: npm
#
# - name: Set Git User
# run: |
# git config user.name "Jonny-Cho"
# git config user.email "[email protected]"
#
# - name: Run deploy
# run: |
# npm ci
# npm run deploy