Update README.md #6
This file contains hidden or 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: Deploy docs on website | |
on: | |
push: | |
branches: ["main"] | |
jobs: | |
build: | |
name: 🚀 Deploy website on push | |
#runs-on: windows-latest | |
runs-on: ubuntu-latest | |
steps: | |
- name: 🚚 Get latest code | |
uses: actions/[email protected] | |
- name: Set up Python 3.11 | |
uses: actions/[email protected] | |
with: | |
python-version: "3.11" | |
- name: Setup Flutter SDK | |
uses: flutter-actions/[email protected] | |
with: | |
channel: stable | |
version: 3.32.2 | |
- name: Build docs | |
run: | | |
dart doc | |
- name: 📂 Sync files to doc domain | |
uses: SamKirkland/[email protected] | |
with: | |
server: ${{ secrets.SERVER }} | |
username: ${{ secrets.USERNAME }} | |
password: ${{ secrets.PW }} | |
local-dir: "./doc/api/" |