Skip to content

team topologies draft #306

team topologies draft

team topologies draft #306

on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: read
deployments: write
name: Deploy to Cloudflare
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Download Tailwind
run: make tailwind-download
- name: Build Tailwind
run: make tailwind-build
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: "latest"
extended: true
- name: Build
run: make build
- name: Publish Page
uses: cloudflare/pages-action@v1 # https://github.com/cloudflare/pages-action
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
projectName: v01-hugo
directory: public
gitHubToken: ${{ secrets.GITHUB_TOKEN }}