parent
9086ac7096
commit
2af82b0a25
@ -25,11 +25,19 @@ jobs:
|
||||
- name: Create tarfile
|
||||
run: tar -cf website.tar public
|
||||
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
- name: Create release
|
||||
id: create-release
|
||||
uses: actions/release-action@main
|
||||
with:
|
||||
name: website-files.tar
|
||||
path: website.tar
|
||||
files: |-
|
||||
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
|
||||
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