diff --git a/.forgejo/workflows/deploy.yml b/.forgejo/workflows/deploy.yml new file mode 100644 index 0000000..0893f16 --- /dev/null +++ b/.forgejo/workflows/deploy.yml @@ -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 diff --git a/.runner b/.runner new file mode 100644 index 0000000..20abc6f --- /dev/null +++ b/.runner @@ -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" + ] +}