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:
|
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
|
||||||
Loading…
Add table
Add a link
Reference in a new issue