diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index d87e947..bb4b766 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -14,9 +14,7 @@ concurrency: jobs: backend-tests: name: Backend Tests - runs-on: ubuntu-latest - container: - network: gitea_gitea + runs-on: vps env: SECRET_KEY: test-secret-key-for-ci-environment-32chars-minimum @@ -24,7 +22,7 @@ jobs: - name: Checkout repository run: | if [ ! -d .git ]; then - git clone --depth=1 "http://gitea:3000/${GITHUB_REPOSITORY}.git" . + git clone --depth=1 "http://100.78.131.124:3300/${GITHUB_REPOSITORY}.git" . fi - name: Setup Python @@ -104,15 +102,13 @@ jobs: frontend-tests: name: Frontend Tests - runs-on: ubuntu-latest - container: - network: gitea_gitea + runs-on: vps steps: - name: Checkout repository run: | if [ ! -d .git ]; then - git clone --depth=1 "http://gitea:3000/${GITHUB_REPOSITORY}.git" . + git clone --depth=1 "http://100.78.131.124:3300/${GITHUB_REPOSITORY}.git" . fi - name: Setup Node.js @@ -174,7 +170,7 @@ jobs: deploy: name: Deploy to Production - runs-on: ubuntu-latest + runs-on: nas if: always() needs: [backend-tests, frontend-tests] env: