Skip to content

Merge pull request #666 from ethersphere/fix-typo #238

Merge pull request #666 from ethersphere/fix-typo

Merge pull request #666 from ethersphere/fix-typo #238

Workflow file for this run

name: github pages
on:
push:
branches-ignore:
- '**'
tags:
- 'v*.*.*'
jobs:
deploy:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-node@v1
with:
node-version: '18'
- name: Build for gh-pages
run: |
npm ci
npm run-script build
echo "docs.ethswarm.org" > ./build/CNAME
rm ./build/.nojekyll
- name: Deploy to gh-pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build