Simplify deploy workflow: direct git clone instead of actions/checkout
Some checks failed
Deploy Landing Page to Storj / deploy (push) Failing after 0s

This commit is contained in:
Scott Scoble 2026-04-29 17:16:41 -07:00
parent 33ad2a35dd
commit a7399e17d7

View file

@ -9,8 +9,12 @@ jobs:
deploy: deploy:
runs-on: nixos runs-on: nixos
steps: steps:
- name: Checkout - name: Clone repo
uses: actions/checkout@v4 run: |
rm -rf /tmp/speckl-deploy
git clone http://localhost:3000/sscoble/speckl.git /tmp/speckl-deploy
cd /tmp/speckl-deploy
git checkout ${{ github.sha }}
- name: Configure rclone - name: Configure rclone
run: | run: |
@ -26,4 +30,4 @@ jobs:
- name: Deploy to Storj - name: Deploy to Storj
run: | run: |
nix run nixpkgs#rclone -- sync landing/ storj:speckl/ --progress nix run nixpkgs#rclone -- sync /tmp/speckl-deploy/landing/ storj:speckl/ --progress