Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: CD

# Controls when the action will run. Triggers the workflow on push or pull request

Check warning on line 3 in .github/workflows/main.yaml

View workflow job for this annotation

GitHub Actions / YAML lint

3:81 [line-length] line too long (82 > 80 characters)
# events but only for the main branch
on:
push:
Expand All @@ -8,24 +8,26 @@
main
]

# A workflow run is made up of one or more jobs that can run sequentially or in parallel

Check warning on line 11 in .github/workflows/main.yaml

View workflow job for this annotation

GitHub Actions / YAML lint

11:81 [line-length] line too long (88 > 80 characters)
jobs:
database:
# The type of runner that the job will run on
runs-on: ubuntu-latest

# Steps represent a sequence of tasks that will be executed as part of the job

Check warning on line 17 in .github/workflows/main.yaml

View workflow job for this annotation

GitHub Actions / YAML lint

17:81 [line-length] line too long (82 > 80 characters)
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Setup python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.8
python-version: '3.12'

- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y pkg-config default-libmysqlclient-dev
pip install mysqlclient

- name: Update database
Expand All @@ -42,10 +44,10 @@
# The type of runner that the job will run on
runs-on: ubuntu-latest

# Steps represent a sequence of tasks that will be executed as part of the job

Check warning on line 47 in .github/workflows/main.yaml

View workflow job for this annotation

GitHub Actions / YAML lint

47:81 [line-length] line too long (82 > 80 characters)
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it

Check warning on line 49 in .github/workflows/main.yaml

View workflow job for this annotation

GitHub Actions / YAML lint

49:81 [line-length] line too long (85 > 80 characters)
- uses: actions/checkout@v2
- uses: actions/checkout@v4

# Runs a single command using the runners shell
- name: Deploy to server
Expand Down
Loading