Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev #47

Merged
merged 8 commits into from
Aug 7, 2024
Merged

Dev #47

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 2 additions & 8 deletions .github/workflows/dart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,16 +93,14 @@ jobs:
- name: "Build Web App"
if: github.ref == 'refs/heads/main'
run: |
flutter build web --release --web-renderer canvaskit
flutter build web --release --wasm

- name: "Build Web App (WASM)"
if: github.ref == 'refs/heads/dev'
id: build-wasm
continue-on-error: true
run: |
should_run=false
flutter build web --release --wasm
should_run=true

- name: 📂 Sync files to main domain
if: github.ref == 'refs/heads/main'
Expand All @@ -114,7 +112,7 @@ jobs:
local-dir: "./build/web/"

- name: 📂 Sync files to dev wasm domain
if: github.ref == 'refs/heads/dev' && steps.build-wasm.outputs.should_run == 'true'
if: github.ref == 'refs/heads/dev' #&& steps.build-wasm.outputs.should_run == 'true'
uses: SamKirkland/[email protected]
with:
server: ${{ secrets.SERVER }}
Expand All @@ -128,10 +126,6 @@ jobs:
ls -R assets/
flutter build web --release --web-renderer canvaskit

- name: Debug
run: |
ls -R "./build/web/"

- name: 📂 Sync files to dev domain
if: github.ref == 'refs/heads/dev'
uses: SamKirkland/[email protected]
Expand Down
Loading