Skip to content
Merged
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
12 changes: 0 additions & 12 deletions .github/workflows/clean-up-preview.yml

This file was deleted.

26 changes: 0 additions & 26 deletions .github/workflows/gh-pages.yml

This file was deleted.

20 changes: 4 additions & 16 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ jobs:
with:
all-features: false
no-default-features: true
features: dioxus-code/all-languages dioxus-code-editor/web dioxus-code-demo/web dioxus-code-live-input/web
features: dioxus-code/all-languages dioxus-code-editor/web dioxus-code-docsite/web dioxus-code-live-input/web

test:
uses: ealmloff/dioxus-ci/.github/workflows/test.yml@main
with:
no-default-features: true
features: dioxus-code/all-languages dioxus-code-editor/web dioxus-code-demo/web dioxus-code-live-input/web
features: dioxus-code/all-languages dioxus-code-editor/web dioxus-code-docsite/web dioxus-code-live-input/web

fmt:
uses: ealmloff/dioxus-ci/.github/workflows/fmt.yml@main
Expand All @@ -36,23 +36,11 @@ jobs:
with:
all-features: false
no-default-features: true
features: dioxus-code/all-languages dioxus-code-editor/web dioxus-code-demo/web dioxus-code-live-input/web
features: dioxus-code/all-languages dioxus-code-editor/web dioxus-code-docsite/web dioxus-code-live-input/web

clippy:
uses: ealmloff/dioxus-ci/.github/workflows/clippy.yml@main
with:
all-features: false
no-default-features: true
features: dioxus-code/all-languages dioxus-code-editor/web dioxus-code-demo/web dioxus-code-live-input/web

web-demo:
if: github.event_name == 'push'
uses: ealmloff/dioxus-ci/.github/workflows/web-build.yml@main
with:
working-directory: demo
ssg: true
no-default-features: true
features: fullstack
debug-symbols: false
base-path: ${{ github.event.repository.name }}
dx-cli-version: 0.7.7
features: dioxus-code/all-languages dioxus-code-editor/web dioxus-code-docsite/web dioxus-code-live-input/web
8 changes: 4 additions & 4 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,27 +19,27 @@ jobs:
toolchain: nightly
all-features: false
no-default-features: true
features: dioxus-code/all-languages dioxus-code-editor/web dioxus-code-demo/web dioxus-code-live-input/web
features: dioxus-code/all-languages dioxus-code-editor/web dioxus-code-docsite/web dioxus-code-live-input/web

test:
uses: ealmloff/dioxus-ci/.github/workflows/test.yml@main
with:
toolchain: nightly
no-default-features: true
features: dioxus-code/all-languages dioxus-code-editor/web dioxus-code-demo/web dioxus-code-live-input/web
features: dioxus-code/all-languages dioxus-code-editor/web dioxus-code-docsite/web dioxus-code-live-input/web

clippy:
uses: ealmloff/dioxus-ci/.github/workflows/clippy.yml@main
with:
toolchain: nightly
all-features: false
no-default-features: true
features: dioxus-code/all-languages dioxus-code-editor/web dioxus-code-demo/web dioxus-code-live-input/web
features: dioxus-code/all-languages dioxus-code-editor/web dioxus-code-docsite/web dioxus-code-live-input/web

web-demo:
uses: ealmloff/dioxus-ci/.github/workflows/web-build.yml@main
with:
working-directory: demo
working-directory: docsite
ssg: true
no-default-features: true
features: fullstack
Expand Down
21 changes: 21 additions & 0 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Pages

on:
workflow_run:
workflows: ["Web"]
types: [completed]
pull_request:
types: [closed]

permissions:
actions: read
contents: write
pull-requests: write

concurrency:
group: pages-${{ github.event.workflow_run.id || github.event.pull_request.number }}
cancel-in-progress: false

jobs:
publish:
uses: ealmloff/dioxus-ci/.github/workflows/pages-publish.yml@main
19 changes: 0 additions & 19 deletions .github/workflows/pr-preview-publish.yml

This file was deleted.

12 changes: 8 additions & 4 deletions .github/workflows/preview.yml → .github/workflows/web.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,28 @@
name: PR Preview Build
name: Web

on:
push:
branches: [main]
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
branches: [main]
workflow_dispatch:

permissions:
contents: read

concurrency:
group: pr-preview-build-${{ github.event.pull_request.number }}
group: web-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
build:
uses: ealmloff/dioxus-ci/.github/workflows/pr-preview-build.yml@main
uses: ealmloff/dioxus-ci/.github/workflows/web-build.yml@main
with:
working-directory: demo
working-directory: docsite
ssg: true
no-default-features: true
features: fullstack
debug-symbols: false
base-path: ${{ github.event.repository.name }}
dx-cli-version: 0.7.7
14 changes: 11 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading