From f4de3ac83d4de146b2ba229c80f95d1d030a8c8d Mon Sep 17 00:00:00 2001 From: Qubasa Date: Sat, 4 May 2024 13:37:56 +0200 Subject: [PATCH] ci: Change from deploy on pull_request to deploy on main push --- .gitea/workflows/checks.yaml | 7 ------- .gitea/workflows/deploy.yaml | 13 +++++++++++++ 2 files changed, 13 insertions(+), 7 deletions(-) create mode 100644 .gitea/workflows/deploy.yaml 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