Skip to content

Commit

Permalink
Merge pull request #3 from d3i-infra/remove-earthly
Browse files Browse the repository at this point in the history
removed pre-commit hook, removed earthly, changed gh-pages feature, s…
  • Loading branch information
kasperwelbers authored Mar 13, 2024
2 parents 94b5a38 + 71d680d commit 21740f9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 65 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,21 @@ permissions:
jobs:
build-and-deploy:
runs-on: ubuntu-latest
env:
REACT_APP_BUILD: standalone
NODE_ENV: development

steps:
- name: Checkout
uses: actions/checkout@v3
- uses: actions/checkout@v3

- uses: earthly/actions-setup@v1
with:
version: v0.7.8
- name: Install dependencies
run: npm i && pip3 install poetry

- name: Build release
run: earthly +release --build_type=standalone
run: npm run release

- name: Unpack release
run: unzip release.zip -d build
run: unzip -o release.zip -d build

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
Expand Down
14 changes: 0 additions & 14 deletions .husky/pre-commit

This file was deleted.

44 changes: 0 additions & 44 deletions Earthfile

This file was deleted.

0 comments on commit 21740f9

Please sign in to comment.