Skip to content

Commit

Permalink
write to COMMIT file
Browse files Browse the repository at this point in the history
  • Loading branch information
katrinafyi authored Aug 26, 2024
1 parent 4164cb3 commit 2ec3c96
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ name: Build and test aslp-web

on:
push:
branches: ["main"]
branches: [ main ]
pull_request:
branches: [ main ]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand All @@ -21,8 +23,7 @@ jobs:
extra-conf: |
accept-flake-config = true
- run: find . -type f -exec sed -i "s/@aslp_web_commit@/$COMMIT/g" {} \;

- run: echo $COMMIT > ./COMMIT
- run: nix build .

- run: cp -rv result/lib/ocaml/*/site-lib/aslp_web artifact
Expand Down

0 comments on commit 2ec3c96

Please sign in to comment.