Skip to content
Snippets Groups Projects
Commit 0e3c83db authored by Jiwon Sheen's avatar Jiwon Sheen
Browse files

Update .gitlab-ci.yml file

parent d650c333
Branches main
No related tags found
No related merge requests found
Pipeline #10468 passed
on: stages:
push: - deploy
branches:
- main
jobs: deploy-worker:
deploy: image: node:lts
runs-on: ubuntu-latest stage: deploy
name: Deploy environment: production
steps: before_script:
- uses: actions/checkout@v4 # install dependencies
- name: Deploy - npm ci
uses: cloudflare/wrangler-action@v3 script:
with: - npm run deploy
apiToken: $CLOUDFLARE_API_TOKEN rules:
# This rule triggers this job after any push to the default branch
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment