Skip to content

Commit

Permalink
github actions setup
Browse files Browse the repository at this point in the history
add cloudflare pages github actions .yml
  • Loading branch information
koddist authored Jan 1, 2024
1 parent 3e2b13a commit 4d319c4
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
on: [push]

jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
deployments: write
name: Publish to Cloudflare Pages
steps:
- name: Checkout
uses: actions/checkout@v3

# Run a build step here if your project requires

- name: Publish to Cloudflare Pages
uses: cloudflare/pages-action@v1
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: d10fb2c6371dc400ef66649f9060894a
projectName: visperto-ui
directory: dist

0 comments on commit 4d319c4

Please sign in to comment.