diff --git a/.forgejo/workflows/push.yaml b/.forgejo/workflows/push.yaml index 28f49f6..e62cb54 100644 --- a/.forgejo/workflows/push.yaml +++ b/.forgejo/workflows/push.yaml @@ -19,6 +19,10 @@ jobs: steps: # get the repo first - uses: https://code.forgejo.org/actions/checkout@v4 + - uses: https://forgejo.skynet.ie/Skynet/actions/get_lfs@v6 + with: + repository: ${{ gitea.repository }} + ref_name: ${{ gitea.ref_name }} - run: nix build .#fmt --verbose # clippy is incredibly useful for making yer code better @@ -30,6 +34,10 @@ jobs: steps: # get the repo first - uses: https://code.forgejo.org/actions/checkout@v4 + - uses: https://forgejo.skynet.ie/Skynet/actions/get_lfs@v6 + with: + repository: ${{ gitea.repository }} + ref_name: ${{ gitea.ref_name }} - run: nix build .#clippy --verbose build: @@ -39,6 +47,10 @@ jobs: steps: # get the repo first - uses: https://code.forgejo.org/actions/checkout@v4 + - uses: https://forgejo.skynet.ie/Skynet/actions/get_lfs@v6 + with: + repository: ${{ gitea.repository }} + ref_name: ${{ gitea.ref_name }} - name: "Build it locally" run: nix build --verbose @@ -49,7 +61,7 @@ jobs: needs: [ build ] steps: - name: "Deploy to Skynet" - uses: https://forgejo.skynet.ie/Skynet/actions-deploy-to-skynet@v2 + uses: https://forgejo.skynet.ie/Skynet/actions/deploy@v3 with: input: 'skynet_discord_bot' token: ${{ secrets.API_TOKEN_FORGEJO }} \ No newline at end of file