Compare commits
8 Commits
45401614d5
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
4624e036a5
|
|||
|
0402d9007a
|
|||
|
06fc6adc61
|
|||
|
9bd15d44b8
|
|||
| 67c4b01424 | |||
| a8a8f81cb3 | |||
|
4a8a947de5
|
|||
| 733563d243 |
9
.github/workflows/deploy.yaml
vendored
9
.github/workflows/deploy.yaml
vendored
@@ -10,10 +10,9 @@ jobs:
|
|||||||
# test locally on the runner, using miniconda
|
# test locally on the runner, using miniconda
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
defaults:
|
||||||
matrix:
|
run:
|
||||||
python-version: [3.11.5]
|
shell: bash -el {0}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: https://github.com/actions/checkout@v4.1.1
|
- uses: https://github.com/actions/checkout@v4.1.1
|
||||||
|
|
||||||
@@ -23,7 +22,7 @@ jobs:
|
|||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
shell: bash -l {0}
|
shell: bash -l {0}
|
||||||
run: |
|
run: |
|
||||||
poetry instsall
|
poetry install
|
||||||
|
|
||||||
- name: add database.ini
|
- name: add database.ini
|
||||||
shell: bash -l {0}
|
shell: bash -l {0}
|
||||||
|
|||||||
6
.github/workflows/test.yaml
vendored
6
.github/workflows/test.yaml
vendored
@@ -14,11 +14,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
shell: bash -el {0}
|
shell: bash -el {0}
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
python-version: [3.11.5]
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: https://github.com/actions/checkout@v4.1.1
|
- uses: https://github.com/actions/checkout@v4.1.1
|
||||||
|
|
||||||
|
|||||||
@@ -37,4 +37,4 @@ RUN ~/.local/bin/poetry install
|
|||||||
# Expose the port that the application listens on.
|
# Expose the port that the application listens on.
|
||||||
EXPOSE 8000
|
EXPOSE 8000
|
||||||
|
|
||||||
CMD ["poetry", "run", "python3", "src/py/bot_core.py", "xiv-database.ini", "xiv-discord.token", "865781604881530940", "888844785274724362"]
|
CMD ~/.local/bin/poetry run python3 src/py/bot_core.py xiv-database.ini xiv-discord.token 865781604881530940 888844785274724362
|
||||||
|
|||||||
Reference in New Issue
Block a user