diff options
| author | Pinapelz <yukais@pinapelz.com> | 2024-10-16 11:24:38 -0700 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2024-10-16 11:24:38 -0700 |
| commit | 632f9b44c3ccc5cf382730d60c79a0fcc1a5c373 (patch) | |
| tree | 7e82e56b34ec77a0c9e07ecec83a40f6d2a0040f /.github/workflows | |
| parent | 4b2bcc858aaf5eba6137df0f04c01ae6a9009437 (diff) | |
add deploy github action
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/deploy.yml | 24 |
1 files changed, 24 insertions, 0 deletions
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: "" |
