Skip to content

feat: Sign message #236

feat: Sign message

feat: Sign message #236

Workflow file for this run

name: Gallery CI/CD
on:
workflow_dispatch:
push:
branches: [ main ]
defaults:
run:
shell: bash
working-directory: ui/example
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: subosito/flutter-action@v1.5.3
with:
channel: beta
- run: flutter pub get
- run: flutter build web
- name: Upload build artifact
uses: actions/upload-artifact@v1
with:
name: web-build
path: ./ui/example/build/web
deploy:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
- name: Download artifact
uses: actions/download-artifact@v2
with:
name: web-build
path: web-build
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: web-build