From 0a8701e8867eaba38fe899915e5556c53453446a Mon Sep 17 00:00:00 2001 From: 2205u Date: Tue, 25 Jun 2024 01:33:13 +0530 Subject: [PATCH] workflow: add shuttle-run action to PRs --- .github/workflows/deploy.yml | 2 -- .github/workflows/shuttle-run.yml | 17 +++++++++++++++++ 2 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/shuttle-run.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 3c5bb00..faefd4c 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -16,5 +16,3 @@ jobs: name: "amd" secrets: | DISCORD_TOKEN = '${{ secrets.DISCORD_TOKEN }}' - - diff --git a/.github/workflows/shuttle-run.yml b/.github/workflows/shuttle-run.yml new file mode 100644 index 0000000..008c883 --- /dev/null +++ b/.github/workflows/shuttle-run.yml @@ -0,0 +1,17 @@ +name: shuttle-deploy +on: + pull_request: + branches: [ "main", "develop" ] + +jobs: + deploy-project: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Run shuttle project locally. + uses: denytwice/shuttle-deploy@v1.0 + with: + secrets: | + DISCORD_TOKEN = '${{ secrets.DISCORD_TOKEN }}'