diff --git a/.gitea/workflows/deploy_to_prod.yaml b/.gitea/workflows/deploy_to_prod.yaml index 3230b2c..f014f6e 100644 --- a/.gitea/workflows/deploy_to_prod.yaml +++ b/.gitea/workflows/deploy_to_prod.yaml @@ -13,11 +13,6 @@ jobs: - name: Check out repository code uses: https://gitea.com/ScMi1/checkout@v1 - - name: Change directory - run: | - echo "Moving to /home/magnum/TriggerFrontend" - cd /home/magnum/TriggerFrontend - - name: Pull latest changes run: | /usr/bin/git log -1 --format='%H' @@ -31,4 +26,8 @@ jobs: - name: Build run: | export NODE_OPTIONS="--max_old_space_size=4096" - npm run build \ No newline at end of file + npm run build + + - name: Move files + run: | + cp -r dist/* /home/magnum/TriggerFrontend \ No newline at end of file