Skip to content

feat: updated dependencies and did some cleanup (#433) #124

feat: updated dependencies and did some cleanup (#433)

feat: updated dependencies and did some cleanup (#433) #124

Workflow file for this run

name: "Release & Deploy"
on:
push:
branches:
- main
jobs:
release:
name: Release with Python Semantic Release
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-release-${{ github.ref_name }}
cancel-in-progress: false
permissions:
contents: write
steps:
- name: Setup | Checkout Repository
uses: actions/checkout@v7
with:
fetch-depth: 0
- name: Action | Semantic Version Release
id: release
# Adjust tag with desired version if applicable.
uses: python-semantic-release/python-semantic-release@v10.5.3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
git_committer_name: "github-actions"
git_committer_email: "actions@users.noreply.github.com"
deploy:
name: Deploy on VPS
needs: release
runs-on: ubuntu-latest
steps:
- name: Deploy via SSH
uses: appleboy/ssh-action@v1.2.5
with:
host: ${{ secrets.VPS_HOST }}
port: ${{ secrets.VPS_PORT }}
username: ${{ secrets.VPS_USER }}
key: ${{ secrets.VPS_SSH_KEY }}
script: |
bash "${{ secrets.DEPLOY_SCRIPT_PATH }}"