This commit is contained in:
parent
09f9a767ed
commit
4142073373
2 changed files with 37 additions and 0 deletions
26
.forgejo/workflows/deploy.yml
Normal file
26
.forgejo/workflows/deploy.yml
Normal file
|
|
@ -0,0 +1,26 @@
|
||||||
|
name: Deploy on Main
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
deploy:
|
||||||
|
runs-on: deadpool
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Pull latest changes
|
||||||
|
run: |
|
||||||
|
cd /home/daydreel/clem-website
|
||||||
|
git pull
|
||||||
|
|
||||||
|
- name: Rebuild and restart container
|
||||||
|
run: |
|
||||||
|
cd /home/daydreel/clem-website
|
||||||
|
docker-compose up -d --build --no-cache
|
||||||
11
.runner
Normal file
11
.runner
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
{
|
||||||
|
"WARNING": "This file is automatically generated by act-runner. Do not edit it manually unless you know what you are doing. Removing this file will cause act runner to re-register as a new runner.",
|
||||||
|
"id": 1,
|
||||||
|
"uuid": "da1da4f6-9706-4d2b-9f09-0e3139a1fd64",
|
||||||
|
"name": "deadpool",
|
||||||
|
"token": "7dfd38179dc5fb5625165d1a885b9079c0d228db",
|
||||||
|
"address": "https://forge.cutelittlemonsters.fr/",
|
||||||
|
"labels": [
|
||||||
|
"deadpool"
|
||||||
|
]
|
||||||
|
}
|
||||||
Loading…
Add table
Reference in a new issue