Skip to content

Update DomainMarketplace smart contract integration #88

Update DomainMarketplace smart contract integration

Update DomainMarketplace smart contract integration #88

Workflow file for this run

name: Flutter Web Build and Deploy
on:
push:
branches:
- main # Replace with your main branch name
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
jobs:
build:
name: Build Flutter Web
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Set up Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: '3.16.1'
- name: Install dependencies
run: flutter pub get
- name: Run build_runner
run: flutter pub run build_runner build
- name: Build Flutter Web
run: flutter build web --release --base-href /
- name: Upload Web Build Files
uses: actions/upload-artifact@v2
with:
name: web-release
path: ./build/web
deploy:
name: Deploy Web Build on gh-pages
runs-on: ubuntu-latest
needs: build
steps:
- name: Download Web Release
uses: actions/download-artifact@v2
with:
name: web-release
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload Artifact
uses: actions/upload-pages-artifact@v2
with:
# upload entire directory
path: '.'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2