-
Notifications
You must be signed in to change notification settings - Fork 141
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into fix/set-x-google-start-bitrate-for-svc
- Loading branch information
Showing
4 changed files
with
64 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: deploy web on github-page | ||
on: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
branches: [ main ] | ||
|
||
jobs: | ||
build: | ||
name: Build Web | ||
env: | ||
my_secret: ${{secrets.commit_secret}} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- uses: subosito/flutter-action@v1 | ||
with: | ||
channel: "stable" | ||
- run: flutter config --enable-web | ||
- run: flutter clean | ||
- run: flutter pub get | ||
- run: | | ||
cd example | ||
flutter build web --release --web-renderer html --base-href /client-sdk-flutter/ | ||
cd build/web | ||
git init | ||
git config --global user.email [email protected] | ||
git config --global user.name cloudwebrtc | ||
git status | ||
git remote add origin https://${{secrets.commit_secret}}@github.com/livekit/client-sdk-flutter.git | ||
git checkout -b gh-pages | ||
git add --all | ||
git commit -m "update" | ||
git push origin gh-pages -f |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters