File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Deploy Production
2+ on :
3+ push :
4+ branches :
5+ - main
6+
7+ jobs :
8+ deploy :
9+ runs-on : ubuntu-latest
10+ name : Deploy
11+ permissions :
12+ pull-requests : write
13+ steps :
14+ - uses : actions/checkout@v4
15+ - uses : pnpm/action-setup@v4
16+ with :
17+ version : 10
18+ - name : Install Dependencies
19+ run : pnpm install
20+ - name : Build
21+ run : pnpm build
22+ - name : Deploy
23+ id : deploy
24+ uses : cloudflare/wrangler-action@v3
25+ with :
26+ packageManager : pnpm
27+ apiToken : ${{ secrets.CLOUDFLARE_API_TOKEN }}
28+ accountId : ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
29+ gitHubToken : ${{ secrets.GITHUB_TOKEN }}
30+ command : deploy --assets ./dist --name compio-website-2 --latest --domain ww2.compio.rs
Original file line number Diff line number Diff line change 2424 apiToken : ${{ secrets.CLOUDFLARE_API_TOKEN }}
2525 accountId : ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
2626 gitHubToken : ${{ secrets.GITHUB_TOKEN }}
27- command : pages deploy ./dist --project- name= compio-website
27+ command : versions upload --assets ./dist --name compio-website-2 --latest
2828 - name : Comment PR
2929 uses : thollander/actions-comment-pull-request@v3
3030 with :
You can’t perform that action at this time.
0 commit comments