Skip to content

Commit

Permalink
Merge pull request #47 from Kataglyphis/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
Kataglyphis authored Aug 7, 2024
2 parents e894929 + 69afe9c commit ca7ff20
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
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

0 comments on commit ca7ff20

Please sign in to comment.