Skip to content

Commit

Permalink
Create deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pablorivassanchez authored Oct 8, 2024
1 parent bab9480 commit 6db2277
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Deploy to Cloudflare Pages

on:
push:
branches:
- main # Adjust if your main branch has a different name

jobs:
deploy:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Deploy to Cloudflare Pages
uses: cloudflare/pages-action@v1
with:
api-token: ${{ secrets.CLOUDFLARE_API_TOKEN }} # Your Cloudflare API token
account-id: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} # Your Cloudflare account ID
project-name: 'stock-option-manager' # Replace with your project name
directory: './' # Path to your static files
branch: main

0 comments on commit 6db2277

Please # to comment.