We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4380f5b commit 2c94402Copy full SHA for 2c94402
.github/workflows/deploy.yml
@@ -74,3 +74,29 @@ jobs:
74
- name: Deploy to GitHub Pages
75
id: deployment
76
uses: actions/deploy-pages@v4
77
+
78
+ deploy-cloudflare:
79
+ runs-on: ubuntu-latest
80
+ needs: build
81
+ steps:
82
+ - name: Checkout
83
+ uses: actions/checkout@v4
84
85
+ - name: Download artifact
86
+ uses: actions/download-artifact@v3
87
+ with:
88
+ name: github-pages
89
+ path: ./dist
90
91
+ - name: Extract artifact
92
+ run: |
93
+ tar -xf ./dist/artifact.tar -C ./dist
94
+ rm ./dist/artifact.tar
95
96
+ - name: Deploy to Cloudflare Pages
97
+ uses: cloudflare/pages-action@v1
98
99
+ apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
100
+ accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
101
+ projectName: mcpm-sh
102
+ directory: ./dist
0 commit comments