Skip to content

Commit

Permalink
uses a different github action
Browse files Browse the repository at this point in the history
  • Loading branch information
rambip committed Aug 5, 2023
1 parent 364a6a2 commit 7f6dd80
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
permissions:
contents: write
jobs:
nix-build:
build-pages:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -21,8 +21,12 @@ jobs:

- run: nix build

- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: result
- run: tar czfh github-pages.tar.gz --directory=result .

deploy:
needs: build-pages
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2

0 comments on commit 7f6dd80

Please sign in to comment.