Skip to content

update info

update info #13

Workflow file for this run

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
name: Dart
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Setup Flutter
uses: subosito/flutter-action@v1
with:
channel: "stable"
- name: Install dependencies
run: flutter pub get
- name: Build
run: flutter build web --release
- name: Deploy
run: |
cd build/web
git init
git config --global user.email [email protected]
git config --global user.name Pedro Marinho
git status
git remote add origin https://${{secrets.token}}@github.com/pedroermarinho/pedroermarinho.github.io.git
git checkout -b master
git add --all
git commit -m "update"
git push origin master -f