From 7c83450dc24b89a5dfcca23973d584125ab4bfde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niccol=C3=B2=20Cant=C3=B9?= Date: Thu, 11 Jul 2024 12:28:03 +0200 Subject: [PATCH] disable some ci steps --- .github/workflows/ci.yml | 4 +-- .github/workflows/publish.yml | 48 +++++++++++++++++------------------ 2 files changed, 26 insertions(+), 26 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 811eb8b..b2e5410 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -49,8 +49,8 @@ jobs: - name: Run DB Migrations run: docker compose --profile dev run --rm django-dev manage.py migrate - - name: Run Django Tests - run: docker compose --profile dev run django-dev pytest + # - name: Run Django Tests + # run: docker compose --profile dev run django-dev pytest - name: Tear down the Stack run: docker compose --profile dev down diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 04f02b1..104f4be 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -56,30 +56,30 @@ jobs: tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} - publish_docs: - if: github.ref == 'refs/heads/main' - needs: build - runs-on: ubuntu-latest - container: - image: ghcr.io/ninanor/genlab_bestilling/backend-docs:main - credentials: - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} + # publish_docs: + # if: github.ref == 'refs/heads/main' + # needs: build + # runs-on: ubuntu-latest + # container: + # image: ghcr.io/ninanor/genlab_bestilling/backend-docs:main + # credentials: + # username: ${{ github.actor }} + # password: ${{ secrets.GITHUB_TOKEN }} - permissions: - pages: write - id-token: write + # permissions: + # pages: write + # id-token: write - environment: - # environment created automatically by GitHub - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} + # environment: + # # environment created automatically by GitHub + # name: github-pages + # url: ${{ steps.deployment.outputs.page_url }} - steps: - - name: Upload artifact - uses: actions/upload-pages-artifact@v1 - with: - path: "/var/www" - # - name: Deploy to GitHub Pages - # id: deployment - # uses: actions/deploy-pages@v2 + # steps: + # - name: Upload artifact + # uses: actions/upload-pages-artifact@v1 + # with: + # path: "/var/www" + # # - name: Deploy to GitHub Pages + # # id: deployment + # # uses: actions/deploy-pages@v2