-
Notifications
You must be signed in to change notification settings - Fork 1
35 lines (35 loc) · 1.21 KB
/
release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Web Build
on:
push:
branches:
- release/web
jobs:
build:
name: Deploy Web
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
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