Skip to content

Publish roadmap

Publish roadmap #767

Workflow file for this run

name: Publish roadmap
on:
push:
branches: [ main ]
workflow_dispatch:
schedule:
- cron: "0 2 * * *"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build roadmap
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
DOCKER_HUB_USERNAME: ${{ secrets.DOCKER_HUB_USERNAME }}
DOCKER_HUB_PASSWORD: ${{ secrets.DOCKER_HUB_PASSWORD }}
run: |
cd $GITHUB_WORKSPACE
pwd
./build.sh
cp -r .well-known build/.well-known
- name: Publish to Cloudflare Pages
uses: cloudflare/pages-action@v1
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: aaf8eef9dd565a13de210d18c7462092
projectName: roadmap
directory: build
wranglerVersion: '3'