We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e5ea7f4 commit 58b8d4bCopy full SHA for 58b8d4b
.github/workflows/cf-pages-deploy.yml
@@ -10,9 +10,16 @@ jobs:
10
name: Deploy to CF Pages
11
steps:
12
- uses: actions/checkout@v4
13
+ - name: Build a deploy in `dist`
14
+ run: |
15
+ mkdir ./dist
16
+ cp -r -t ./dist \
17
+ v2/badges/ v2/control/ v2/styles/ v2/*.min.js v2/irc-message.js v2/script.js v2/tinycolor.js v2/*.html \
18
+ img/ styles/ favicon.ico index.html script.js \
19
+ jquery.min.js purify.min.js
20
- name: Deploy
21
uses: cloudflare/wrangler-action@v3
22
with:
23
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
24
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
- command: pages deploy ./ --project-name="chatis-v2" --branch="${{ github.ref_name }}"
25
+ command: pages deploy ./dist --project-name="chatis-v2" --branch="${{ github.ref_name }}"
0 commit comments