Skip to content

feat: update Vendetta hitpoints (#335) #38

feat: update Vendetta hitpoints (#335)

feat: update Vendetta hitpoints (#335) #38

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@v4
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.4.1
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
with:
host: ${{ secrets.VPS_HOST }}
port: ${{ secrets.VPS_PORT }}
username: ${{ secrets.VPS_USER }}
key: ${{ secrets.VPS_SSH_KEY }}
script: |
bash "${{ secrets.DEPLOY_SCRIPT_PATH }}"