Skip to content

Add gitHubToken: ${{ secrets.GITHUB_TOKEN }} #12

Add gitHubToken: ${{ secrets.GITHUB_TOKEN }}

Add gitHubToken: ${{ secrets.GITHUB_TOKEN }} #12

Workflow file for this run

name: Build and deploy
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-20.04
steps:
- name: Checkout Source
uses: actions/checkout@v1
- name: Build Site
run: swift run
- name: Publish to Cloudflare Pages
uses: cloudflare/pages-action@v1
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
projectName: ${{ env.CLOUDFLARE_PAGES_PROJECT_NAME }}"
directory: ./Output
branch: main
gitHubToken: ${{ secrets.GITHUB_TOKEN }}