Skip to content

Add devopsdays ukraine (#598) #835

Add devopsdays ukraine (#598)

Add devopsdays ukraine (#598) #835

Workflow file for this run

name: Deploy GitHub Pages
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 16
cache: npm
cache-dependency-path: '**/package-lock.json'
- working-directory: page
run: npm install -D
- name: Parse Markdowns
working-directory: tools
run: |
node mdValidator.js
node mdParser.js
node generateIcs.js
- working-directory: page
run: npm run build
- name: Make all-*.json files available at the site root
working-directory: tools
run: |
mv ../page/src/misc/all-events.json ../page/build/all-events.json
mv ../page/src/misc/all-cfps.json ../page/build/all-cfps.json
mv ../page/src/misc/*.ics ../page/build/
- name: Deploy to GitHub Pages
if: github.ref_name == 'main'
uses: crazy-max/ghaction-github-pages@v2
with:
target_branch: gh-pages
build_dir: page/build/
keep_history: true
fqdn: developers.events # CNAME
jekyll: false # Solve website 404
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}