Update broken links #3
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: flutterdesignpatterns.com deployment | |
on: | |
push: | |
branches: ["master"] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
web-deploy: | |
name: π Deploy to flutterdesignpatterns.com | |
runs-on: ubuntu-latest | |
steps: | |
- name: π Get latest code | |
uses: actions/checkout@v3 | |
- name: π¦ Setup Flutter | |
uses: subosito/flutter-action@v2 | |
with: | |
channel: "stable" | |
- name: π¨ Build website | |
run: flutter build web --release --web-renderer=canvaskit | |
- name: π Sync files | |
uses: SamKirkland/[email protected] | |
with: | |
server: vapsva.serveriai.lt | |
username: flerns | |
password: ${{ secrets.ftp_password }} | |
local-dir: ./build/web/ | |
server-dir: public_html/ |