Skip to content

Merge pull request #3 from geo-engine/vote-keep-2022 #10

Merge pull request #3 from geo-engine/vote-keep-2022

Merge pull request #3 from geo-engine/vote-keep-2022 #10

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches: [main]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: init rust-toolchain
# somehow rustup show will take care to initialize the version based on the toolchain file
run: rustup show
- name: Create iCal file
run: |
cargo run --release > ./output/feiertage.ical
rm ./output/.gitignore
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./output
# TODO: we could set a CNAME
# cname: ???.geoengine.io