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.
2 parents 0c4ad39 + 53c0d60 commit a722becCopy full SHA for a722bec
.github/workflows/deploy.yml
@@ -4,6 +4,10 @@ on:
4
push:
5
branches: 'trunk'
6
7
+env:
8
+ ARTIFACT_DIR: "build"
9
+ BASE_PATH: '/scrapbox-planetarium'
10
+
11
jobs:
12
build_site:
13
runs-on: ubuntu-latest
@@ -40,16 +44,16 @@ jobs:
40
44
41
45
- name: build
42
46
env:
43
- BASE_PATH: '/scrapbox-planetarium'
47
+ BASE_PATH: ${{ env.BASE_PATH }}
48
run: |
49
pnpm run build
- touch build/.nojekyll
50
+ touch $ARTIFACT_DIR/.nojekyll
51
52
- name: Upload Artifacts
53
uses: actions/upload-pages-artifact@v1
54
with:
55
# this should match the `pages` option in your adapter-static options
- path: 'build/'
56
+ path: ${{ env.ARTIFACT_DIR }}/
57
58
deploy:
59
needs: build_site
0 commit comments