Simplify deploy workflow: direct git clone instead of actions/checkout
Some checks failed
Deploy Landing Page to Storj / deploy (push) Failing after 0s
Some checks failed
Deploy Landing Page to Storj / deploy (push) Failing after 0s
This commit is contained in:
parent
33ad2a35dd
commit
a7399e17d7
1 changed files with 7 additions and 3 deletions
|
|
@ -9,8 +9,12 @@ jobs:
|
|||
deploy:
|
||||
runs-on: nixos
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Clone repo
|
||||
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
|
||||
run: |
|
||||
|
|
@ -26,4 +30,4 @@ jobs:
|
|||
|
||||
- name: Deploy to Storj
|
||||
run: |
|
||||
nix run nixpkgs#rclone -- sync landing/ storj:speckl/ --progress
|
||||
nix run nixpkgs#rclone -- sync /tmp/speckl-deploy/landing/ storj:speckl/ --progress
|
||||
Loading…
Add table
Add a link
Reference in a new issue