This commit is contained in:
parent
2c30d0f3a5
commit
7ff8e4f16b
@ -22,12 +22,8 @@ jobs:
|
||||
- name: Build site
|
||||
run: hugo --minify
|
||||
|
||||
- name: Test
|
||||
run: ls -la ; pwd ; ls -la /root/.cache/act/mans/***/public
|
||||
|
||||
- name: Setup MC
|
||||
- name: Setup Minio client
|
||||
run: wget https://dl.min.io/client/mc/release/linux-amd64/mc && chmod +x ./mc && ./mc alias set deploy ${{ secrets.S3_ENDPOINT }} ${{ secrets.S3_ACCESS_KEY }} ${{ secrets.S3_SECRET_KEY }}
|
||||
|
||||
- name: Deploy to Garage
|
||||
run: ./mc mirror --remove --overwrite ./public/ deploy/${{ secrets.S3_BUCKET }}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user