Skip to content

Commit

Permalink
Feat and Fix: Deploy and merge conflict detector fix (#147)
Browse files Browse the repository at this point in the history
  • Loading branch information
Furrior committed Sep 20, 2023
1 parent d8a34a0 commit 105e493
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 4 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Deploy

concurrency:
group: deploy

on:
workflow_dispatch:
push:
branches: ['master, devtest']

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Trigger update
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.GAME1_HOST }}
username: ${{ secrets.GAME1_USERNAME }}
key: ${{ secrets.GAME1_SSH_KEY }}
script: |
cd /opt/ss13/paradise/
./upgrade.sh
14 changes: 10 additions & 4 deletions .github/workflows/label_merge_conflicts.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,19 @@
name: 'Merge Conflict Detection'

on:
push:
branches:
- master
pull_request_target:
types: [ready_for_review, opened, synchronize, reopened]
jobs:
triage:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-22.04
steps:
- uses: mschilde/auto-label-merge-conflicts@master
- uses: eps1lon/actions-label-merge-[email protected]
with:
CONFLICT_LABEL_NAME: 'Merge Conflict'
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
dirtyLabel: 'Merge Conflict'
repoToken: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 105e493

Please sign in to comment.