Skip to content

fix resume formatting #233

fix resume formatting

fix resume formatting #233

Workflow file for this run

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