Skip to content

Commit

Permalink
disable some ci steps
Browse files Browse the repository at this point in the history
  • Loading branch information
nicokant committed Jul 11, 2024
1 parent 1c5ce89 commit 7c83450
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 26 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
48 changes: 24 additions & 24 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 7c83450

Please sign in to comment.