fix resume formatting #233
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 Builder | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: actions/setup-java@v1 | |
with: | |
java-version: '12.x' | |
- uses: subosito/flutter-action@v1 | |
with: | |
channel: 'stable' | |
- name: Upgrades flutter | |
run: flutter upgrade | |
- name: Enable Web | |
run: flutter config --enable-web | |
- name: Install dependencies | |
run: flutter packages get | |
- name: Build Web | |
run: flutter build web | |
- name: Deploy | |
run: | | |
cd build/web | |
git init | |
git config user.name "CI" | |
git config user.email "[email protected]" | |
git remote add secure-origin https://${{ secrets.ACCESS_TOKEN }}@github.com/tmthecoder/portfolio.git | |
git checkout -b preview | |
git add . | |
git commit -m "Updated built website from code in @tmthecoder/portfolio" | |
git push --force secure-origin preview |