Skip to content

Commit

Permalink
chore: Deployment test
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixNgFender committed Sep 18, 2023
1 parent e7ed8fe commit fdeda1f
Show file tree
Hide file tree
Showing 3 changed files with 1,442 additions and 149 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ jobs:
name: Deploy
needs: build
runs-on: ubuntu-latest
permissions:
contents: read
deployments: write
if: github.ref == 'refs/heads/main'

steps:
Expand All @@ -58,8 +61,11 @@ jobs:
name: production-files
path: ./frontend/react_app/dist

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
- name: Deploy to Cloudflare Pages
uses: cloudflare/pages-action@1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./frontend/react_app/dist
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
projectName: mu2mi
directory: ./frontend/react_app/dist
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
Loading

0 comments on commit fdeda1f

Please sign in to comment.