assets 제거 #20
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
name: Flutter Web | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
name: Build And Deploy Github Pages | |
env: | |
my_secret: ${{secrets.commit_secret}} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: subosito/flutter-action@v2 | |
with: | |
channel: 'stable' | |
- run: flutter config --enable-web | |
- run: flutter pub get | |
- run: flutter build web --release | |
working-directory: ./example | |
- run: | | |
cd example/build/web | |
git init | |
git config --global user.email rlawjdxo1212@naver.com | |
git config --global user.name origogi | |
git status | |
git remote add origin https://${{secrets.commit_secret}}@github.com/Origogi/Vertical_Card_Pager.git | |
git checkout -b gh-pages | |
git add --all | |
git commit -m "update" | |
git push origin gh-pages -f |