Skip to content

Merge branch 'main' of github.com:Rubilmax/multidelegatecall #48

Merge branch 'main' of github.com:Rubilmax/multidelegatecall

Merge branch 'main' of github.com:Rubilmax/multidelegatecall #48

Workflow file for this run

name: Deploy Web
on:
push:
branches:
- main
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./web
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: yarn
- name: Install dependencies
run: yarn --immutable
- name: Configure pages
uses: actions/configure-pages@v5
with:
static_site_generator: next
- name: Build with Next.js
run: yarn build
env:
NEXT_PUBLIC_WC_PROJECT_ID: ${{ secrets.WC_PROJECT_ID }}
- name: Upload artifact 📡
uses: actions/upload-pages-artifact@v3
with:
path: ./web/out
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Publish to GitHub Pages 🚀
id: deployment
uses: actions/deploy-pages@v4