rafa-links/.gitea/workflows/deploy.yaml

21 lines
668 B
YAML
Raw Normal View History

2023-10-22 23:41:30 +00:00
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
2023-10-23 00:53:24 +00:00
uses: https://github.com/cloudflare/pages-action@f0a1cd58cd66095dee69bfa18fa5efd1dde93bca
2023-10-22 23:41:30 +00:00
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
projectName: 'rafa-page' # e.g. 'my-project'
2023-10-23 00:21:55 +00:00
directory: 'dist' # e.g. 'dist'