0
0
mirror of https://github.com/sp-tarkov/db-website.git synced 2025-02-02 17:49:21 -05:00

Removes Gitea Action

This commit is contained in:
Refringe 2024-12-07 11:47:26 -05:00
parent 671deeaa0c
commit 208c4233df
Signed by: Refringe
SSH Key Fingerprint: SHA256:t865XsQpfTeqPRBMN2G6+N8wlDjkgUCZF3WGW6O9N/k

View File

@ -1,36 +0,0 @@
name: Deploy
on:
push:
branches: [main]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
path: /workspace/SPT/DB-Website
fetch-depth: 0
- name: List files
run: ls -lah
shell: bash
with:
path: /workspace/SPT/DB-Website
- name: Setup known_hosts
run: |
mkdir -p ~/.ssh
echo "${{ secrets.SSH_KNOWN_HOSTS }}" > ~/.ssh/known_hosts
- name: Setup SSH key
uses: webfactory/ssh-agent@v0.9.0
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: Push to production
run: |
git remote add deploy ssh://dbwebsite@51.195.101.201/home/dbwebsite/DB-Website.git
git push deploy main:main