Skip to content

Commit

Permalink
fix publish
Browse files Browse the repository at this point in the history
  • Loading branch information
wfjsw committed Aug 8, 2024
1 parent afc80fd commit ba8a19d
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,13 @@ jobs:
- name: Checkout repo
uses: actions/checkout@v4

- run: |
mkdir dist
cp -r ./*.html dist/
# - run: |
# mkdir dist
# cp -r ./*.html dist/

- name: Publish app
uses: cloudflare/pages-action@1
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
accountId: ${{ secrets.CF_ACCOUNT_ID }}
projectName: oystermercury-pypi-index-oversea
directory: ./dist
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
command: pages deploy . --project-name=oystermercury-pypi-index-oversea

0 comments on commit ba8a19d

Please sign in to comment.