Skip to content

Add information for Bevi role #73

Add information for Bevi role

Add information for Bevi role #73

# SPDX-FileCopyrightText: 2024 Alec Delaney
# SPDX-License-Identifier: MIT
name: Unpublish Test Site
on:
pull_request:
types: [closed]
branches: ['main']
workflow_dispatch:
jobs:
unpublish-test-website:
runs-on: ubuntu-latest
steps:
- name: Stop on server
uses: appleboy/[email protected]
with:
host: tekktrik.dev
username: ${{ secrets.USERNAME }}
key: ${{ secrets.SSH_KEY }}
script: |
# Change to directory
cd /srv/www/test-tekktrik-dev
# Update the repository
git fetch
git checkout main
git config pull.rebase true
git pull --rebase -ff
# Stop docker container
make stop-test