From cd17023a13eee07bc3a3ae4e9f248825bb9869ea Mon Sep 17 00:00:00 2001 From: Fascinated Date: Sun, 26 Mar 2023 22:03:56 +0100 Subject: [PATCH] test --- .drone.yml | 13 +++++++++++++ .gitea/workflows/publish.yaml | 15 +++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 .gitea/workflows/publish.yaml diff --git a/.drone.yml b/.drone.yml index b55f6f7..3707cbb 100644 --- a/.drone.yml +++ b/.drone.yml @@ -56,3 +56,16 @@ volumes: - name: cache host: path: /tmp/cache +# deploy: +# image: alpine:latest +# stage: deploy +# tags: +# script: +# - chmod og= $ID_RSA +# - apk update && apk add openssh-client +# - ssh -i $ID_RSA -o StrictHostKeyChecking=no $SERVER_USER@$SERVER_IP "cd /home/overlay && docker compose pull && docker compose up -d && docker image prune -f" +# environment: +# name: production +# url: https://bs-overlay.fascinated.cc +# only: +# - main diff --git a/.gitea/workflows/publish.yaml b/.gitea/workflows/publish.yaml new file mode 100644 index 0000000..ed598e0 --- /dev/null +++ b/.gitea/workflows/publish.yaml @@ -0,0 +1,15 @@ +name: Gitea Actions Demo +run-name: ${{ github.actor }} is testing out Gitea Actions 🚀 +on: [push] +jobs: + Explore-Gitea-Actions: + runs-on: ubuntu-latest + steps: + - run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event." + - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!" + - run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." + - name: Check out repository code + uses: actions/checkout@v3 + - run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner." + - run: echo "🖥️ The workflow is now ready to test your code on the runner." + - run: echo "🍏 This job's status is ${{ job.status }}."