Update schedule + announcements for Fall 2025 #3
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and Deploy Decal Web | |
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
branches: | |
- "*" | |
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 | |