Migration to Sepolia networks #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Builds the docs and deploys to GitHub pages | |
# | |
# https://github.com/actions/setup-node | |
# Using https://github.com/marketplace/actions/deploy-to-github-pages | |
name: Deploy to Github pages | |
on: | |
push: | |
#tags: | |
# - v* | |
branches: | |
- main | |
jobs: | |
deploy_pages: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '16' | |
cache: 'npm' | |
- run: npm install | |
- run: npm run docs | |
- run: touch docs/.nojekyll | |
- name: Deploy docs 🚀 | |
uses: JamesIves/github-pages-deploy-action@releases/v3 | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
BRANCH: gh-pages # The branch the action should deploy to. | |
FOLDER: docs # The folder the action should deploy. |