Updating forgejo action to build using the flake
Some checks failed
On_Push / deploy (push) Failing after 17s

This commit is contained in:
Eoghan Conlon 2024-09-26 09:07:46 +01:00
parent 133c775699
commit 49c79ac87d

View file

@ -9,7 +9,7 @@ on:
jobs:
deploy:
runs-on: docker
runs-on: nix
steps:
# get the repo first
- uses: https://code.forgejo.org/actions/checkout@v4
@ -18,11 +18,12 @@ jobs:
with:
repository: ${{ gitea.repository }}
ref_name: ${{ gitea.ref_name }}
- run: nix build
# temp one just to get it "built"
- uses: https://forgejo.skynet.ie/Skynet/actions/deploy_user@v6
with:
ssh_key: ${{ secrets.SSH_KEY }}
username: ${{ env.GITHUB_REPOSITORY_OWNER }}
folder: "src"
folder: "result"
# uncomment below if you want to deploy to a subfolder
#destination: "subfolder"