Skip to content

Create event ethdam-2024 #36

Create event ethdam-2024

Create event ethdam-2024 #36

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: docker://pandoc/core:2.9
with:
args: "-o dist/index.html --from markdown --reference-links README.md"
- name: Add custom domain
run: "touch dist/CNAME && echo \"chronicle.ethevents.club\" >> dist/CNAME"
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist