Skip to content

Update Makefile

Update Makefile #92

Workflow file for this run

name: Deploy
on:
push:
workflow_dispatch:
permissions:
contents: read
deployments: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Fetch docs
run: make
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: "16"
- name: Install dependencies
run: npm ci
- name: Build website
run: npm run build
- name: Publish to Cloudflare Pages
id: publish
uses: cloudflare/pages-action@v1
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
projectName: opentf-website
directory: ./build
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
wranglerVersion: 3