ci: update env
Some checks failed
deploy / build (push) Failing after 11m27s

This commit is contained in:
rizaldy 2024-02-12 15:36:10 +07:00
parent 497e946e54
commit 4d396f1be5

View File

@ -10,6 +10,16 @@ jobs:
- uses: actions/setup-node@v3 - uses: actions/setup-node@v3
with: with:
node-version: '20.x' node-version: '20.x'
cache: "npm"
- run: npm ci - run: npm ci
- run: npm run build - 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 - run: npx wrangler pages deploy out --project-name=$CF_PROJECT_NAME --branch=$GITHUB_REF_NAME