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