Skip to content

Commit bdd7ee3

Browse files
committed
ci: only publish docs on 2027 branch
Signed-off-by: Jonah Snider <jonah@jonahsnider.com>
1 parent 0fb3afd commit bdd7ee3

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ jobs:
108108

109109
runs-on: ubuntu-latest
110110

111-
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
111+
if: github.event_name == 'push' && github.ref == 'refs/heads/2027'
112112

113113
needs: [assemble, validation]
114114

web/astro.config.mjs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ export default defineConfig({
5252
],
5353
customCss: ['/src/styles/custom.css'],
5454
components: {
55+
Banner: './src/components/Banner.astro',
5556
Head: './src/components/PwaHead.astro',
5657
},
5758
}),
@@ -62,7 +63,7 @@ export default defineConfig({
6263
registerType: 'autoUpdate',
6364
workbox: {
6465
cleanupOutdatedCaches: true,
65-
cacheId: 'doglog-docs',
66+
cacheId: 'doglog-docs-2027',
6667
globPatterns: ['**/*'],
6768
},
6869
manifest: {
@@ -73,7 +74,7 @@ export default defineConfig({
7374
theme_color: '#460b05',
7475
lang: 'en',
7576
display: 'minimal-ui',
76-
id: 'doglog.dev',
77+
id: '2027.doglog.dev',
7778
start_url: '/',
7879
orientation: 'any',
7980
},

0 commit comments

Comments
 (0)