generated from Seekra/repository-template
Compare commits
2
Commits
v1.0.0-rc0
...
2c7ddaf9f5
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2c7ddaf9f5
|
||
|
|
08b4220df6
|
@@ -10,6 +10,8 @@ permissions:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
|
if: ${{ !github.event.release.prerelease && !github.event.release.draft }}
|
||||||
|
|
||||||
name: Deploy on production
|
name: Deploy on production
|
||||||
|
|
||||||
runs-on: node-minio
|
runs-on: node-minio
|
||||||
@@ -17,6 +19,19 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Install Git LFS
|
||||||
|
- run: |
|
||||||
|
apt-get update
|
||||||
|
apt-get install -y git-lfs
|
||||||
|
|
||||||
|
- name: Checkout LFS
|
||||||
|
run: |
|
||||||
|
git lfs install --local
|
||||||
|
AUTH=$(git config --local http.${{ gitea.server_url }}/.extraheader)
|
||||||
|
git config --local --unset http.${{ gitea.server_url }}/.extraheader
|
||||||
|
git config --local http.${{ gitea.server_url }}/${{ gitea.repository }}.git/info/lfs/objects/batch.extraheader "$AUTH"
|
||||||
|
git lfs pull
|
||||||
|
|
||||||
- name: Set alias
|
- name: Set alias
|
||||||
run: |
|
run: |
|
||||||
mc alias set minio "${{ vars.S3_PROD_URL }}" "${{ secrets.S3_PROD_ACCESS_KEY }}" "${{ secrets.S3_PROD_SECRET_KEY }}"
|
mc alias set minio "${{ vars.S3_PROD_URL }}" "${{ secrets.S3_PROD_ACCESS_KEY }}" "${{ secrets.S3_PROD_SECRET_KEY }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user