Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/trunk' into trunk
Browse files Browse the repository at this point in the history
  • Loading branch information
eniehack committed Aug 3, 2024
2 parents 0c4ad39 + 53c0d60 commit a722bec
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ on:
push:
branches: 'trunk'

env:
ARTIFACT_DIR: "build"
BASE_PATH: '/scrapbox-planetarium'

jobs:
build_site:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -40,16 +44,16 @@ jobs:

- name: build
env:
BASE_PATH: '/scrapbox-planetarium'
BASE_PATH: ${{ env.BASE_PATH }}
run: |
pnpm run build
touch build/.nojekyll
touch $ARTIFACT_DIR/.nojekyll
- name: Upload Artifacts
uses: actions/upload-pages-artifact@v1
with:
# this should match the `pages` option in your adapter-static options
path: 'build/'
path: ${{ env.ARTIFACT_DIR }}/

deploy:
needs: build_site
Expand Down

0 comments on commit a722bec

Please sign in to comment.