From 0c0f0bd3398bd0e7f450da3abf67697f8c0dcab3 Mon Sep 17 00:00:00 2001 From: Luke R Date: Thu, 2 May 2024 11:45:11 -0700 Subject: [PATCH] Testing workflow --- .gitea/workflows/build-and-push.yaml | 9 +++++++++ .gitea/workflows/lint.yaml | 15 --------------- 2 files changed, 9 insertions(+), 15 deletions(-) create mode 100644 .gitea/workflows/build-and-push.yaml delete mode 100644 .gitea/workflows/lint.yaml diff --git a/.gitea/workflows/build-and-push.yaml b/.gitea/workflows/build-and-push.yaml new file mode 100644 index 00000000..78c56c1b --- /dev/null +++ b/.gitea/workflows/build-and-push.yaml @@ -0,0 +1,9 @@ +name: Build and Push +run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀 +on: [push] + +jobs: + Post-startup-message: + runs-on: pyfound/black:latest_release + run: | + black --fast --check . \ No newline at end of file diff --git a/.gitea/workflows/lint.yaml b/.gitea/workflows/lint.yaml deleted file mode 100644 index 6481cbfe..00000000 --- a/.gitea/workflows/lint.yaml +++ /dev/null @@ -1,15 +0,0 @@ -name: Gitea Actions Demo -run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀 -on: [push] - -jobs: - Post-startup-message: - runs-on: appleboy/drone-discord - env: - WEBHOOK_ID=${{ secrets.WEBHOOK_ID }} - WEBHOOK_TOKEN=${{ secrets.WEBHOOK_TOKEN }} - WAIT=false - TTS=false - USERNAME=test - AVATAR_URL=https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTP3ekDW_jiUIEmAym337xeS7WN-k_DUq8YHi6VVfwQQw&s - MESSAGE=🚀 Pipeline [[#{{build.number}}]({{build.link}})] of branch [{{commit.branch}}]({{commit.link}}) by ${DRONE_COMMIT_AUTHOR_NAME} has started