Compare commits

...

2 Commits

Author SHA1 Message Date
Rafael González Vázquez bc11b363c4 Added github url
/ Deploy to Cloudflare Pages (push) Has been cancelled Details
2023-10-22 18:21:55 -06:00
Rafael González Vázquez ca45be57fb Added cloudflare pages deploy 2023-10-22 17:41:30 -06:00
1 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,21 @@
on: [push]
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: read
deployments: write
name: Deploy to Cloudflare Pages
steps:
- name: Checkout
uses: actions/checkout@v3
# Run your project's build step
- name: Build
run: npm install && npm run build
- name: Publish
uses: https://github.com/cloudflare/pages-action@1
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
projectName: 'rafa-page' # e.g. 'my-project'
directory: 'dist' # e.g. 'dist'