Skip to content

Add the 'PushEvent' webhook and associated PushCommit object (#386) #129

Add the 'PushEvent' webhook and associated PushCommit object (#386)

Add the 'PushEvent' webhook and associated PushCommit object (#386) #129

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@v3
- 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.