Skip to content

Commit

Permalink
ci: add deploy workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tozydev committed Sep 21, 2024
1 parent 287ea52 commit aca78bb
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Deploy

on:
push:
branches:
- main

jobs:
deploy:
runs-on: ubuntu-latest
environment:
name: Cloudflare Workers
url: ${{ steps.deploy.outputs.deployment-url }}

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Deploy to Cloudflare Workers
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
env:
USERNAME: ${{ secrets.USERNAME }}
PASSWORD: ${{ secrets.PASSWORD }}
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

📦 Lightweight Maven based artifact repository for Cloudflare Workers

[![Deploy to Cloudflare Workers](https://deploy.workers.cloudflare.com/button)](https://deploy.workers.cloudflare.com/?url=https://github.com/tozydev/vela)

This project is a simple Maven based artifact repository for Cloudflare Workers platform. It isn't a full-fledged
artifact repository like Nexus or Artifactory, but it's a simple solution for small projects that need to store and
retrieve artifacts. I chose Cloudflare Workers because it's free and it's a serverless platform, so you don't need to
Expand Down

0 comments on commit aca78bb

Please sign in to comment.