From 4d396f1be55ee61b3db3ce237e30208cfc110dd0 Mon Sep 17 00:00:00 2001 From: rizaldy Date: Mon, 12 Feb 2024 15:36:10 +0700 Subject: [PATCH] ci: update env --- .gitea/workflows/deploy.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index d497959..5ae49a7 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -10,6 +10,16 @@ jobs: - uses: actions/setup-node@v3 with: node-version: '20.x' + cache: "npm" - run: npm ci - run: npm run build + env: + MINIO_ENDPOINT: ${{ vars.MINIO_ENDPOINT }} + MINIO_ACCESS_KEY: ${{ vars.MINIO_ACCESS_KEY }} + MINIO_SECRET_KEY: ${{ vars.MINIO_SECRET_KEY }} + MINIO_BUCKET: ${{ vars.MINIO_BUCKET }} + PEERTUBE_FEED_URL: ${{ vars.PEERTUBE_FEED_URL }} + UMAMI_ENABLED: ${{ vars.UMAMI_ENABLED }} + UMAMI_SCRIPT_URL: ${{ vars.UMAMI_SCRIPT_URL }} + UMAMI_WEBSITE_ID: ${{ vars.UMAMI_WEBSITE_ID }} - run: npx wrangler pages deploy out --project-name=$CF_PROJECT_NAME --branch=$GITHUB_REF_NAME