Skip to content

Open Tech Meetup 2 News #50

Open Tech Meetup 2 News

Open Tech Meetup 2 News #50

Workflow file for this run

name: CI
on:
push:
branches: [ master ]
pull_request:
permissions:
deployments: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Nix
uses: cachix/install-nix-action@V28
- name: Build
run: nix build -L
- name: Patch
run: |
mv result result-old
mkdir result
cp -r result-old/* result
chmod +w -R result
echo "User-agent: *\nDisallow: /" > result/robots.txt
- name: Publish to Cloudflare Pages
uses: cloudflare/pages-action@v1
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: 2a09613716e511a8fe8ca74abc084762
projectName: dd-ix-content
directory: result
gitHubToken: ${{ github.token }}