Skip to content

Update schedule + announcements for Fall 2025 (#1) #5

Update schedule + announcements for Fall 2025 (#1)

Update schedule + announcements for Fall 2025 (#1) #5

Workflow file for this run

name: Build and Deploy Decal Web
on:
push:
branches:
- "main"
jobs:
check-flake:
runs-on: ci-ocf-hugo-decal-web
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/flake-checker-action@v9
build_and_deploy:
runs-on: ci-ocf-hugo-decal-web
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build with Nix
run: nix build
- name: Setup SSH keys
run: |
echo '${{ secrets.DECALWEB_DEPLOY_PRIVKEY }}' > id_ed25519
chmod 400 id_ed25519
echo "amethyst.ocf.berkeley.edu ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIlmVSSUC4PTOzfMvsHbUVr1e+7GLXvIPx1tX+W3CIU1" > known_hosts
chmod 400 known_hosts
- name: Deploy with rsync
run: nix develop .#deploy -c rsync -e "ssh -v -o UserKnownHostsFile=known_hosts -i id_ed25519" --verbose --compress --partial --checksum --progress --human-readable --archive --delete result/ [email protected]:/var/www/decal