Skip to content

protocol guild data #13

protocol guild data

protocol guild data #13

Workflow file for this run

name: Test, build, deploy
on:
push:
branches:
- main # Set a branch to deploy
pull_request:
jobs:
deploy:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
permissions:
contents: write
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: denoland/setup-deno@v1
with:
deno-version: v1.x
- uses: szenius/[email protected]
with:
timezoneLinux: "Europe/Prague"
- name: Build sources
run: make
# - name: Build changelog
# run: make changelog
- uses: actions/setup-node@v3
with:
node-version: 20
- name: Install web dependencies
run: cd web && npm ci
- name: Build web frontend
run: make build-web
- name: Consolidate build
run: make consolidate
- name: Add custom domain
run: "touch output/CNAME && echo \"cd.ethevents.club\" >> output/CNAME"
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./output