Skip to content

fix: web version

fix: web version #39

Workflow file for this run

name: Web Build
on:
push:
branches:
- release/web
jobs:
build:
name: Deploy Web
env:
my_secret: ${{secrets.COMMIT_SECRET}}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.COMMIT_SECRET }}
publish_dir: ./release/web
# - uses: subosito/flutter-action@v2
# - run: flutter pub get
# - run: flutter test
# - run: flutter build web --release
# - run: |
# cd build/web
# git init
# # type configurations: your user.email and user.name followed lines
# # git config --global user.email your_email
# # git config --global user.name your_name
# git config --global user.email ${{secrets.USER_EMAIL}}
# git config --global user.name ${{secrets.USER_NAME}}
# git status
# # change this remote url for examle your remote url is then the following:
# git remote add origin https://${{secrets.COMMIT_SECRET}}@github.com/xsoulspace/sheets_manager_excel_addin.git
# git checkout -b gh-pages
# git add --all
# git commit -m "update"
# git push origin gh-pages