Simplify deploy workflow: use actions/checkout, nix run rclone
Some checks failed
Deploy Landing Page to Storj / deploy (push) Failing after 6s

This commit is contained in:
Scott Scoble 2026-04-29 17:13:24 -07:00
parent db8726d442
commit 33ad2a35dd

View file

@ -9,17 +9,8 @@ jobs:
deploy:
runs-on: nixos
steps:
- name: Create working directory
run: |
rm -rf /tmp/speckl-deploy-${{ github.run_id }}
mkdir -p /tmp/speckl-deploy-${{ github.run_id }}
echo "WORKDIR=/tmp/speckl-deploy-${{ github.run_id }}" >> $GITHUB_ENV
- name: Clone repo
run: |
git clone http://localhost:3000/sscoble/speckl.git "${{ env.WORKDIR }}"
cd "${{ env.WORKDIR }}"
git checkout ${{ github.sha }}
- name: Checkout
uses: actions/checkout@v4
- name: Configure rclone
run: |
@ -35,4 +26,4 @@ jobs:
- name: Deploy to Storj
run: |
rclone sync "${{ env.WORKDIR }}/landing/" storj:speckl/ --progress
nix run nixpkgs#rclone -- sync landing/ storj:speckl/ --progress