Skip to content

Commit

Permalink
Fix github action for creating website
Browse files Browse the repository at this point in the history
  • Loading branch information
eikek committed Mar 11, 2024
1 parent 0a18eee commit 81da79f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
fetch-depth: 0
- name: Set current version
run: echo "SHARRY_VERSION=$(cat version.sbt | grep version | cut -d= -f2 | xargs)" >> $GITHUB_ENV
- uses: cachix/install-nix-action@26
- uses: cachix/install-nix-action@v26
- name: Build website (${{ env.SHARRY_VERSION }})
run: nix develop .#ci --command sbt microsite/makeMicrosite
- name: Publish website (${{ env.SHARRY_VERSION }})
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: nix-shell project/microsite.nix --run "sbt microsite/publishMicrosite"
run: nix develop .#ci --command sbt microsite/publishMicrosite

0 comments on commit 81da79f

Please sign in to comment.