Skip to content

Merge pull request #678 from ethersphere/2-3-0-version-replace #245

Merge pull request #678 from ethersphere/2-3-0-version-replace

Merge pull request #678 from ethersphere/2-3-0-version-replace #245

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