Skip to content

Commit 01d7605

Browse files
build: publish vanilla-js template
1 parent 1878c7a commit 01d7605

File tree

2 files changed

+23
-1
lines changed

2 files changed

+23
-1
lines changed

.github/workflows/release.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ jobs:
4747
- name: sveltekit-example
4848
target: scratch_sveltekit_example
4949
out: sveltekit-example.tar.gz
50+
- name: vanilla-js-example
51+
target: scratch_vanilla_js_example
52+
out: vanilla-js-example.tar.gz
5053

5154
steps:
5255
- uses: actions/checkout@v4
@@ -146,6 +149,12 @@ jobs:
146149
name: sveltekit-example.tar.gz
147150
path: .
148151

152+
- name: Download vanilla-js-example
153+
uses: actions/download-artifact@v4
154+
with:
155+
name: vanilla-js-example.tar.gz
156+
path: .
157+
149158
- name: Release
150159
uses: softprops/action-gh-release@v1
151160
if: startsWith(github.ref, 'refs/tags/')
@@ -162,6 +171,7 @@ jobs:
162171
./angular-example.tar.gz
163172
./sveltekit-starter.tar.gz
164173
./sveltekit-example.tar.gz
174+
./vanilla-js-example.tar.gz
165175
166176
deploy:
167177
name: Deploy to CDN
@@ -236,6 +246,12 @@ jobs:
236246
name: sveltekit-example.tar.gz
237247
path: out/templates
238248

249+
- name: Download vanilla-js-example
250+
uses: actions/download-artifact@v4
251+
with:
252+
name: vanilla-js-example.tar.gz
253+
path: out/templates
254+
239255
- uses: actions/setup-node@v4
240256
with:
241257
node-version: '20.x'

Dockerfile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ RUN ./docker/compress sveltekit-starter
4949
FROM deps as build_sveltekit_example
5050
RUN ./docker/compress sveltekit-example
5151

52+
FROM deps as build_vanilla_js_example
53+
RUN ./docker/compress vanilla-js-example
54+
5255
FROM scratch AS scratch_astro_starter
5356
COPY --from=build_astro_starter ./prepare/target/astro-starter.tar.gz /
5457

@@ -80,4 +83,7 @@ FROM scratch AS scratch_sveltekit_starter
8083
COPY --from=build_sveltekit_starter ./prepare/target/sveltekit-starter.tar.gz /
8184

8285
FROM scratch AS scratch_sveltekit_example
83-
COPY --from=build_sveltekit_example ./prepare/target/sveltekit-example.tar.gz /
86+
COPY --from=build_sveltekit_example ./prepare/target/sveltekit-example.tar.gz /
87+
88+
FROM scratch AS scratch_vanilla_js_example
89+
COPY --from=build_vanilla_js_example ./prepare/target/vanilla-js-example.tar.gz /

0 commit comments

Comments
 (0)