diff --git a/.gitea/workflows/checks.yaml b/.gitea/workflows/checks.yaml index 823cf3a7..8d77bee6 100644 --- a/.gitea/workflows/checks.yaml +++ b/.gitea/workflows/checks.yaml @@ -10,10 +10,3 @@ jobs: steps: - uses: actions/checkout@v3 - run: nix run .#impure-checks - deploy-docs: - runs-on: nix - steps: - - uses: actions/checkout@v3 - - run: nix run .#deploy-docs - env: - SSH_HOMEPAGE_KEY: ${{ secrets.SSH_HOMEPAGE_KEY }} \ No newline at end of file diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml new file mode 100644 index 00000000..ab7b7459 --- /dev/null +++ b/.gitea/workflows/deploy.yaml @@ -0,0 +1,13 @@ +name: deploy +on: + push: + branches: + - main + jobs: + deploy-docs: + runs-on: nix + steps: + - uses: actions/checkout@v3 + - run: nix run .#deploy-docs + env: + SSH_HOMEPAGE_KEY: ${{ secrets.SSH_HOMEPAGE_KEY }} \ No newline at end of file