mirror of
https://github.com/arthyn/sphinx.git
synced 2024-12-25 08:52:32 +03:00
ops: trying to work with s3cmd
This commit is contained in:
parent
032a699c73
commit
a8dd1c12fe
7
.github/actions/glob/action.yml
vendored
7
.github/actions/glob/action.yml
vendored
@ -29,4 +29,9 @@ runs:
|
||||
- id: glob
|
||||
shell: bash
|
||||
run:
|
||||
./.github/helpers/glob.sh "${{ inputs.folder }}" ${{ inputs.docket }}
|
||||
./.github/helpers/glob.sh "${{ inputs.folder }}" ${{ inputs.docket }}
|
||||
- name: Upload Glob and Cleanup
|
||||
run: |
|
||||
s3cmd put zod/.urb/put/*.glob -P s3://hmillerdev/sphinx/
|
||||
sleep 5s
|
||||
rm -rf zod
|
6
.github/helpers/glob.sh
vendored
6
.github/helpers/glob.sh
vendored
@ -23,13 +23,9 @@ rsync -avL $1 zod/work/glob
|
||||
hood "commit %work"
|
||||
dojo "-garden!make-glob %work /glob"
|
||||
|
||||
s3cmd put zod/.urb/put/*.glob -P s3://hmillerdev/sphinx/
|
||||
gsutil cp zod/.urb/put/*.glob gs://bootstrap.urbit.org
|
||||
hash=$(ls -1 -c zod/.urb/put | head -1 | sed "s/glob-\([a-z0-9\.]*\).glob/\1/")
|
||||
sed -i "s/glob\-[a-z0-9\.]*glob' *[a-z0-9\.]*\]/glob-$hash.glob' $hash]/g" $2
|
||||
|
||||
echo "hash=$(echo $hash)" >> $GITHUB_OUTPUT
|
||||
|
||||
hood "exit"
|
||||
sleep 5s
|
||||
rm -rf zod
|
||||
hood "exit"
|
Loading…
Reference in New Issue
Block a user