Swap the visual order of build steps as publish needs to be quickly accessible
This commit is contained in:
parent
af8d341f86
commit
26d3459ea0
1 changed files with 16 additions and 15 deletions
|
@ -4,20 +4,6 @@ on: push
|
||||||
env:
|
env:
|
||||||
DEV_SHELL_NAME: CI
|
DEV_SHELL_NAME: CI
|
||||||
jobs:
|
jobs:
|
||||||
Check config:
|
|
||||||
runs-on: flakes-action
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
name: Checkout
|
|
||||||
- name: Metadata
|
|
||||||
run: |
|
|
||||||
nix flake metadata
|
|
||||||
- name: Statix
|
|
||||||
run: |
|
|
||||||
nix develop -c statix check
|
|
||||||
- name: Flake check
|
|
||||||
run: |
|
|
||||||
nix flake check
|
|
||||||
Publish:
|
Publish:
|
||||||
runs-on: flakes-action
|
runs-on: flakes-action
|
||||||
steps:
|
steps:
|
||||||
|
@ -34,4 +20,19 @@ jobs:
|
||||||
EOF
|
EOF
|
||||||
chmod 400 ~/.ssh/id_ed25519
|
chmod 400 ~/.ssh/id_ed25519
|
||||||
echo "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILqDeXcIQwLXxuueu9KTC6y6NPUUzDRdF4Q5NUk+nFwt upload@blog" > ~/.ssh/id_ed25519.pub
|
echo "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILqDeXcIQwLXxuueu9KTC6y6NPUUzDRdF4Q5NUk+nFwt upload@blog" > ~/.ssh/id_ed25519.pub
|
||||||
nix develop -c rsync -avz -e 'ssh -o StrictHostKeyChecking=accept-new' public/ blog@blog.cyplo.net:/var/www/blog/
|
nix develop -c rsync -avz -e 'ssh -o StrictHostKeyChecking=accept-new' public/ blog@blog.cyplo.net:/var/www/blog/
|
||||||
|
|
||||||
|
Check config:
|
||||||
|
runs-on: flakes-action
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
name: Checkout
|
||||||
|
- name: Metadata
|
||||||
|
run: |
|
||||||
|
nix flake metadata
|
||||||
|
- name: Statix
|
||||||
|
run: |
|
||||||
|
nix develop -c statix check
|
||||||
|
- name: Flake check
|
||||||
|
run: |
|
||||||
|
nix flake check
|
||||||
|
|
Loading…
Reference in a new issue