Skip to content

Commit

Permalink
Merge 008cb13 into 89ee74f
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucsanszky committed Jul 25, 2024
2 parents 89ee74f + 008cb13 commit 6288287
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,19 +83,20 @@ jobs:
directory: .

- name: Commit haskell package
if: github.ref == 'refs/heads/master'
run: |
nix-build -A ledger.hsSrc -j1 -o outputs/ledgerSrc
git config user.name 'github-actions[bot]'
git config user.email 'github-actions[bot]@users.noreply.github.com'
git stash push
rsync -r --exclude={'**/nix-support','**/lib'} outputs/ledgerSrc/* ledgerSrc/
git add -f ledgerSrc
git commit -m "Updated for ${{ github.sha }}"
git tag haskell-package-$(git rev-parse --short ${{ github.sha }}) -m "Tag for ${{ github.sha }}"
- name: Push to gh-pages
if: github.ref == 'refs/heads/master'
uses: ad-m/github-push-action@v0.6.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: haskell-package
branch: ldan/haskell-package-test
force: true
directory: .
Empty file.

0 comments on commit 6288287

Please sign in to comment.