Compare commits
2 Commits
ba69990860
...
bc11b363c4
Author | SHA1 | Date |
---|---|---|
Rafael González Vázquez | bc11b363c4 | |
Rafael González Vázquez | ca45be57fb |
|
@ -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'
|
Loading…
Reference in New Issue