diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 9bdd4d1..beff91c 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -33,10 +33,10 @@ jobs: SECURITY_ALLOWUPPERPATHS: "true" SECURITY_ALLOWRELATIVEPATHS: "true" - live-server: - image: gitbase.de/robin/live-server - ports: - - 80:80 + #live-server: + # image: gitbase.de/robin/live-server + # ports: + # - 80:80 steps: - uses: actions/checkout@v3 @@ -97,6 +97,10 @@ jobs: # if: github.ref == 'refs/heads/dev' # run: | # docker compose -p ${GITHUB_REF_NAME}-${GITHUB_REPOSITORY_NAME}-${GITHUB_REPOSITORY_OWNER} up -d --build --remove-orphans + + - name: Start Live Server + run: | + docker run -d -p 80:80 -v ${{ github.workspace }}:/usr/src/app gitbase.de/robin/live-server - name: Install Chrome run: | wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add - @@ -104,6 +108,7 @@ jobs: sudo apt-get update sudo apt-get install -y google-chrome-stable + # Lighthouse Analysis Step - name: Lighthouse Analysis run: |