Skip to content

Commit

Permalink
kp ob das jetzt geht
Browse files Browse the repository at this point in the history
  • Loading branch information
PyFlat-JR committed Aug 13, 2024
1 parent 732779c commit 5ecd83e
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: deploy web on github-page
on:
push:
branches:
- main
jobs:
build:
name: Build Web
env:
my_secret: ${{secrets.TOKEN}}
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: flutter build web --release --web-renderer html --base-href /mastermind/
- run: |
cd build/web
git init
git status
git remote add origin https://${{secrets.TOKEN}}@github.com/PyFlat/mastermind.git
git checkout -b gh-pages
git add --all
git commit -m "update"
git push origin gh-pages -f

0 comments on commit 5ecd83e

Please sign in to comment.