chore: deploy to Cloudflare Pages
This commit is contained in:
parent
65d5876c3f
commit
711bcac662
@ -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
|
|
Loading…
Reference in New Issue
Block a user