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