Skip to content

libresilient: use alt-fetch before cache #3

libresilient: use alt-fetch before cache

libresilient: use alt-fetch before cache #3

Workflow file for this run

name: Deploy Master Branch
on:
push:
branches:
- main
- new-deployment
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: Build the site with Jekyll
run: nix build
- name: Upload
run: |
mkdir -p "$HOME/.ssh"
echo "${{ secrets.KEY }}" > "$HOME/.ssh/key"
chmod 600 "$HOME/.ssh/key"
rsync -rILvh -e "ssh -i $HOME/.ssh/key -o StrictHostKeyChecking=no" $GITHUB_WORKSPACE/result/ "${{ secrets.USERNAME }}@delta.chat:/var/www/html/_site"