1
0

chore: deploy to Cloudflare Pages

This commit is contained in:
Lucien Cartier-Tilet 2025-02-09 12:19:23 +01:00
parent 65d5876c3f
commit 711bcac662

View File

@ -19,13 +19,11 @@ jobs:
- name: "Export org to md" - name: "Export org to md"
run: emacs -Q --script export.el run: emacs -Q --script export.el
- run: npm run build - run: npm run build
- name: "Deploy" - name: "Deploy to Cloudflare Pages"
uses: appleboy/scp-action@v0.1.7 uses: cloudflare/pages-action@v1
with: with:
host: ${{ secrets.HOST }} apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
username: ${{ secrets.USERNAME }} accountId: ${{ secrets.ACCOUNT_ID }}
key: ${{ secrets.KEY }} projectName: conlang-phundrak-com
port: ${{ secrets.PORT }} directory: content/.vuepress/dist/
source: docs/.vuepress/dist/* githubToken: ${{ secrets.TOKEN }}
target: ${{ secrets.DESTPATH }}
strip_components: 3