You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
616 B
YAML
24 lines
616 B
YAML
on: [push]
|
|
|
|
jobs:
|
|
example:
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: read
|
|
deployments: write
|
|
name: Example
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
- name: Publish to Cloudflare Pages
|
|
uses: ./
|
|
with:
|
|
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
|
accountId: 468cce80dfb431f3a4058e6dc6031a44
|
|
projectName: github-actions-example
|
|
directory: example
|
|
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
|
|
id: publish
|
|
- name: Deployment URL
|
|
run: echo "${{ steps.publish.outputs.url }}"
|