From e8484f3456f55844962f901bb8b6b754afb33c2e Mon Sep 17 00:00:00 2001 From: Andreas Hnida Date: Wed, 17 Apr 2024 21:37:15 +0200 Subject: [PATCH] Refactor workflow to combine build and deployment steps. --- .gitea/workflows/pipeline-test.yaml | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/.gitea/workflows/pipeline-test.yaml b/.gitea/workflows/pipeline-test.yaml index 65715ff..a01992f 100644 --- a/.gitea/workflows/pipeline-test.yaml +++ b/.gitea/workflows/pipeline-test.yaml @@ -6,7 +6,7 @@ on: - main jobs: - build: + build_and_deploy: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2.4.0 @@ -52,22 +52,6 @@ jobs: - name: Build Hugo site run: hugo --minify - - name: Upload Artifacts - uses: actions/upload-artifact@v3 - with: - name: hugo-site - path: public/ - - deploy: - needs: build - runs-on: ubuntu-latest - steps: - - name: Download Artifacts - uses: actions/download-artifact@v2 - with: - name: hugo-site - path: public - - name: Deploy to Server uses: SamKirkland/FTP-Deploy-Action@4.0.0 with: