Skip to content

config: create CNAME record during build flow #100

config: create CNAME record during build flow

config: create CNAME record during build flow #100

name: Eleventy Build
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v2
- run: npm install
- run: npm ci
- run: npm run build
- run: echo taiporto.com >> ./docs/CNAME
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
publish_dir: ./docs