Skip to content

Update release process to use actions (#392) #137

Update release process to use actions (#392)

Update release process to use actions (#392) #137

Workflow file for this run

name: Publish Demos
on:
push:
branches:
- master
jobs:
build-and-deploy:
runs-on: ubuntu-latest
container:
image: dart
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
- name: Install rsync 📚
run: |
apt-get update && apt-get install -y rsync
- name: Install and Build 🔧
run: |
dart pub global activate webdev
dart pub get
dart pub global run webdev build -o build -- --delete-conflicting-outputs
rm build/example/packages
- name: Publish 🚀
uses: JamesIves/[email protected]
with:
branch: gh-pages # The branch the action should deploy to.
folder: build/example # The folder the action should deploy.