This repository has been archived by the owner on Feb 5, 2025. It is now read-only.
fix shaman cudgel error #780
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 Quests to Production | |
on: | |
push: | |
branches: | |
- main | |
- retribution | |
jobs: | |
Deploy_Main: | |
if: ${{ github.ref_name == 'main' }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up SSH | |
uses: webfactory/[email protected] | |
with: | |
ssh-private-key: ${{ secrets.REMOTE_DEPLOY_KEY }} | |
- name: Pull latest changes on THJ host | |
run: | | |
ssh -o StrictHostKeyChecking=no ${{ secrets.REMOTE_DEPLOY_USER }}@${{ secrets.THJ_HOST_ADDR }} ' | |
cd /opt/thj/eqemu/server/quests && | |
git fetch origin && | |
git reset --hard origin/main' | |
Deploy_Retribution: | |
if: ${{ github.ref_name == 'retribution' }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up SSH | |
uses: webfactory/[email protected] | |
with: | |
ssh-private-key: ${{ secrets.REMOTE_DEPLOY_KEY }} | |
- name: Pull latest changes on RET host | |
run: | | |
ssh -o StrictHostKeyChecking=no ${{ secrets.REMOTE_DEPLOY_USER }}@${{ secrets.RET_HOST_ADDR }} ' | |
cd /opt/retribution/eqemu/server/quests && | |
git fetch origin && | |
git reset --hard origin/retribution' | |