parent
9086ac7096
commit
2af82b0a25
@ -25,11 +25,19 @@ jobs:
|
|||||||
- name: Create tarfile
|
- name: Create tarfile
|
||||||
run: tar -cf website.tar public
|
run: tar -cf website.tar public
|
||||||
|
|
||||||
- name: Upload artifacts
|
- name: Create release
|
||||||
uses: actions/upload-artifact@v3
|
id: create-release
|
||||||
|
uses: actions/release-action@main
|
||||||
with:
|
with:
|
||||||
name: website-files.tar
|
files: |-
|
||||||
path: website.tar
|
website.tar
|
||||||
|
api_key: '${{secrets.RELEASE_TOKEN}}'
|
||||||
|
|
||||||
|
# - name: Upload artifacts
|
||||||
|
# uses: actions/upload-artifact@v3
|
||||||
|
# with:
|
||||||
|
# name: website-files.tar
|
||||||
|
# path: website.tar
|
||||||
|
|
||||||
- name: Setup Minio client
|
- 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 }}
|
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 }}
|
||||||
|
Loading…
Reference in New Issue
Block a user