From 34aae6e265563cf70f37a18910cde42b6db60ff4 Mon Sep 17 00:00:00 2001 From: Joab <89288499+Joabutt@users.noreply.github.com> Date: Fri, 25 Nov 2022 12:55:05 +0800 Subject: [PATCH] updated to only curl url and removed deta --- .github/workflows/deta.yml | 21 --------------------- .github/workflows/register.yml | 14 ++++++++++++++ 2 files changed, 14 insertions(+), 21 deletions(-) delete mode 100644 .github/workflows/deta.yml create mode 100644 .github/workflows/register.yml diff --git a/.github/workflows/deta.yml b/.github/workflows/deta.yml deleted file mode 100644 index cb6ce09..0000000 --- a/.github/workflows/deta.yml +++ /dev/null @@ -1,21 +0,0 @@ -name: Deploy to Deta -on: - pull_request_target: - types: - - closed - -jobs: - if_merged: - if: github.event.pull_request.merged == true - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 #Be sure you check-out the repo first. Deta CLI needs access to the files - - uses: BogDAAAMN/deta-deploy-action@v1.0.1 - with: - deta-access-token: ${{ secrets.DETA_TOKEN }} #Deta access token https://docs.deta.sh/docs/cli/auth - deta-name: 'api' #Deta Micro name https://docs.deta.sh/docs/cli/commands/#deta-clone - deta-project-dir: '.' #Optional: directory to be deployed on Deta. Default is the root "." - - - uses: wei/curl@master - with: - args: https://api.is-really.cool/addnew diff --git a/.github/workflows/register.yml b/.github/workflows/register.yml new file mode 100644 index 0000000..99a746a --- /dev/null +++ b/.github/workflows/register.yml @@ -0,0 +1,14 @@ +name: Register domain +on: + pull_request_target: + types: + - closed + +jobs: + if_merged: + if: github.event.pull_request.merged == true + runs-on: ubuntu-latest + steps: + - uses: wei/curl@master + with: + args: https://ircapi.tk/addnew