fixed wearing button in avatar page #173
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: Deploy Site via Git | |
on: | |
push: | |
branches: | |
- main # Run this workflow whenever code is pushed to the main branch | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
# Step 1: Checkout the repository | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
# Step 2: SSH into the VPS and pull the latest code | |
- name: Deploy to VPS via SSH | |
uses: appleboy/[email protected] | |
with: | |
host: ${{ secrets.VPS_IP }} # Your VPS IP address stored as a secret | |
username: ${{ secrets.VPS_USER }} # Your VPS user stored as a secret | |
key: ${{ secrets.SSH_PRIVATE_KEY }} # Your SSH private key stored as a secret | |
script: | | |
cd Valkyrie/Valk.Website/AlphaBloxWeb # Navigate to your project directory | |
git pull origin main # Pull the latest code from GitHub | |
npm install # Install any new dependencies | |
docker-compose up --build -d app # Stop running app not webserver |