Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
52 lines (44 loc) · 1.48 KB

File metadata and controls

52 lines (44 loc) · 1.48 KB
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: Deploy to GitHub Pages
on:
push:
branches:
- master
permissions:
contents: read
deployments: write
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
deploy-cf:
runs-on: ubuntu-latest
name: cloudflare-pages
steps:
- name: Checkout repository
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
- name: Setup Node.js
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5
with:
node-version: '24.x'
cache: 'npm'
- name: Install dependencies
run: npm ci
env:
PUPPETEER_SKIP_DOWNLOAD: 'true'
- name: Build webextension
run: npm run build:webextension
- name: Create organized directory structure
run: |
mkdir -p ./pages-deploy/config
mkdir -p ./pages-deploy/adult
cp -r ./dist/webextension/chibi/* ./pages-deploy/config/
cp -r ./dist/adult/chibi/* ./pages-deploy/adult/
cp .github/pages-files/_headers ./pages-deploy/
- name: Deploy
uses: cloudflare/wrangler-action@ebbaa1584979971c8614a24965b4405ff95890e0 # v4
with:
apiToken: ${{ secrets.CLOUDFLARE_PAGES_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_PAGES_ACCOUNT_ID }}
command: pages deploy pages-deploy --project-name=chibi
# Optional: Enable this if you want to have GitHub Deployments triggered
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
Morty Proxy This is a proxified and sanitized view of the page, visit original site.