Skip to content

Commit

Permalink
Remove template
Browse files Browse the repository at this point in the history
  • Loading branch information
ltan02 committed Oct 21, 2023
1 parent 2182176 commit 0c6aba4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 34 deletions.
Original file line number Diff line number Diff line change
@@ -1,25 +1,22 @@
name: Build Python and Django
name: Build Pipeline for Python and Django

on:
workflow_call:
inputs:
python_version:
description: 'Python version'
type: string
default: '3.10'
secrets:
django_secret:
required: true
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Set up Python ${{ inputs.python_version }}
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: ${{ inputs.python_version }}
python-version: '3.10'

- name: Install pipenv
run: |
Expand All @@ -38,6 +35,6 @@ jobs:
- name: Makes sure it runs
env:
SECRET_KEY: ${{ secrets.django_secret }}
SECRET_KEY: ${{ secrets.DJANGO_SECRET }}
run: |
pipenv run python manage.py check
21 changes: 0 additions & 21 deletions .github/workflows/build.yml

This file was deleted.

0 comments on commit 0c6aba4

Please sign in to comment.