Skip to content

feat: add storage.web3ph.dev (#435) #83

feat: add storage.web3ph.dev (#435)

feat: add storage.web3ph.dev (#435) #83

name: Build and Publish github pages
on:
push:
branches:
- master
jobs:
build-and-publish:
concurrency: ci-${{ github.ref }} # Recommended if you intend to make multiple deployments in quick succession.
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
- name: Install and Build 🔧 # This example project is built using npm and outputs the result to the 'build' folder. Replace with the commands required to build your project, or remove this step entirely if your site is pre-built.
run: |
npm install
npm run build
# Deploy to gh pages branch
- name: Deploy
uses: s0/git-publish-subdir-action@92faf786f11dfa44fc366ac3eb274d193ca1af7e
env:
REPO: self
BRANCH: gh-pages
FOLDER: dist
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}