From 632f9b44c3ccc5cf382730d60c79a0fcc1a5c373 Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Wed, 16 Oct 2024 11:24:38 -0700 Subject: add deploy github action --- .github/workflows/deploy.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/deploy.yml (limited to '.github/workflows') diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..8969840 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,24 @@ +name: deploy2nekoweb +on: [push] +jobs: + deployer: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - uses: oven-sh/setup-bun@v2 + with: + bun-version: "latest" + + - name: installing dependencies + run: bun install --frozen-lockfile + + - name: building code + run: bun run build + + - name: deploy2nekoweb + uses: deploy2nekoweb/deploy2nekoweb@main + with: + nekoweb-api-key: ${{ secrets.NEKOWEB_API_KEY }} + nekoweb-folder: "pinapelz-moe" + directory: "" -- cgit v1.2.3