Skip to content

init more (#4)

init more (#4) #15

Workflow file for this run

name: Example
on:
push:
branches:
- '*'
permissions:
contents: write
pages: write
id-token: write
jobs:
build-and-deploy:
concurrency: ci-${{ github.ref }}
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎
uses: actions/checkout@v4
- name: Make Build
run: make build
- name: Generate Example
run: mkdir build && ./precrypt --html example/index.html --css example/style.css --js example/index.js --key 329625b9767075c799e90499c59f4e775c0c0ca8c8320b99fc485ba68add025b build/index.html
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
if: github.ref == 'refs/heads/main'
with:
folder: build