We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42aa416 commit 3868e44Copy full SHA for 3868e44
1 file changed
action.yaml
@@ -20,15 +20,9 @@ runs:
20
with:
21
path: user_repo
22
23
- - name: Copy specific directories and file
+ - name: Set Environment Variables
24
run: |
25
- # Remove and copy content directory
26
- rm -rf astro-big-doc/content
27
- cp -R user_repo/content astro-big-doc
28
-
29
- # Remove and copy public directory
30
- rm -rf astro-big-doc/public
31
- cp -R user_repo/public astro-big-doc
+ echo "CONTENT=user_repo" >> $GITHUB_ENV
32
shell: bash
33
34
- name: Setup Node.js environment
@@ -47,7 +41,7 @@ runs:
47
41
48
42
cd astro-big-doc
49
43
REPO_NAME="${GITHUB_REPOSITORY##*/}"
50
- export PUBLIC_BASE="/$REPO_NAME"
44
+ echo "PUBLIC_BASE=/$REPO_NAME" >> $GITHUB_ENV
51
45
pnpm run build
52
46
53
0 commit comments