Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
turboMaCk committed Jan 14, 2024
1 parent 5a6baee commit 68409d7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/publish-website.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
schedule:
- cron: '0 2,14 * * *'
workflow_dispatch:
push:

jobs:
publish-code:
Expand Down Expand Up @@ -69,11 +70,11 @@ jobs:
run: date +%c

- name: Build website
run: nix build
run: nix run

- name: Deploy main to testing
run: |
nix-shell -p rsync --run 'rsync -rt result/var [email protected]:/home/website/testing'
nix-shell -p rsync --run 'rsync -rt public [email protected]:/home/website/testing/www'
deploy-production:
needs: publish-code
Expand Down

0 comments on commit 68409d7

Please sign in to comment.