You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/deploy.yml
+12-14Lines changed: 12 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,10 @@ name: Deploy to GitHub Pages
3
3
on:
4
4
# Allows you to run this workflow manually from the Actions tab on GitHub.
5
5
workflow_dispatch:
6
+
# Trigger workflow when one of the data files was changed (check if separate jobs of gather-data each trigger this workflow separately)
7
+
# push:
8
+
# paths:
9
+
# - '**/*.json'
6
10
7
11
# Allow this job to clone the repo and create a page deployment
8
12
permissions:
@@ -15,21 +19,15 @@ jobs:
15
19
runs-on: ubuntu-latest
16
20
steps:
17
21
- name: Checkout your repository using git
18
-
uses: actions/checkout@v3
19
-
with:
20
-
submodules: true
21
-
- uses: oven-sh/setup-bun@v1
22
-
with:
23
-
bun-version: latest
24
-
- name: install deps in submodule
25
-
run: |
26
-
cd obsidian-js-engine-plugin
27
-
bun install --frozen-lockfile
28
-
cd ..
22
+
uses: actions/checkout@v4
23
+
- name: Setup Bun
24
+
uses: oven-sh/setup-bun@v2
25
+
- name: Install dependencies
26
+
run: bun install --frozen-lockfile
29
27
- name: Install, build, and upload your site
30
-
uses: withastro/action@v1
28
+
uses: withastro/action@v3
31
29
with:
32
-
path: .# The root location of your Astro project inside the repository. (optional)
30
+
path: website# The root location of your Astro project inside the repository. (optional)
33
31
# node-version: 18 # The specific version of Node that should be used to build your site. Defaults to 18. (optional)
34
32
package-manager: bun@latest # The Node package manager that should be used to install dependencies and build your site. Automatically detected based on your lockfile. (optional)
0 commit comments