Merge pull request #1 from Neoxelox/fix/gh-action-deployment-name #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deployment | |
on: | |
push: | |
branches: [main] | |
jobs: | |
deployment: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v4 | |
- name: Setup Python 🐍 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.11" | |
cache: "pip" | |
- name: Setup Scripts 🧩 | |
run: | | |
pip install -r scripts/requirements.txt | |
inv env.switch ci | |
inv tool.install ci-dep --yes | |
- name: Build 🏗️ | |
run: inv build | |
- name: Deploy 🚀 | |
run: inv deploy |