Skip to content

Commit

Permalink
fix deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
viperML committed Jun 20, 2024
1 parent c7b3533 commit 89fe3d0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- astro

env:
BUILDDIR: ./public
DISTDIR: /tmp/dist

jobs:
main:
Expand All @@ -26,11 +26,11 @@ jobs:

- name: Build
run: |
nix build -L
cp -vrL ./result/lib/node_modules/neohome/dist ${{ env.BUILDDIR }}
out="$(nix build .^out --print-out-paths --no-link)"
cp -vrL "$out/lib/node_modules/neohome/dist" "${{ env.DISTDIR }}"
- name: Publish
uses: cloudflare/[email protected]
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
command: pages deploy --project-name=neohome --branch preview ${{ env.BUILDDIR }}
command: pages deploy --project-name=neohome --branch preview "${{ env.DISTDIR }}"

0 comments on commit 89fe3d0

Please sign in to comment.