This commit is contained in:
parent
2c30d0f3a5
commit
7ff8e4f16b
@ -22,12 +22,8 @@ jobs:
|
|||||||
- name: Build site
|
- name: Build site
|
||||||
run: hugo --minify
|
run: hugo --minify
|
||||||
|
|
||||||
- name: Test
|
- name: Setup Minio client
|
||||||
run: ls -la ; pwd ; ls -la /root/.cache/act/mans/***/public
|
|
||||||
|
|
||||||
- name: Setup MC
|
|
||||||
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 }}
|
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
|
- name: Deploy to Garage
|
||||||
run: ./mc mirror --remove --overwrite ./public/ deploy/${{ secrets.S3_BUCKET }}
|
run: ./mc mirror --remove --overwrite ./public/ deploy/${{ secrets.S3_BUCKET }}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user