mirror of
https://github.com/nix-community/noogle.git
synced 2024-09-11 09:15:53 +03:00
update github workflow
This commit is contained in:
parent
bc4c5d81b9
commit
733803926a
6
.github/workflows/main.yml
vendored
6
.github/workflows/main.yml
vendored
@ -21,7 +21,7 @@ jobs:
|
||||
with:
|
||||
name: nix-community
|
||||
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
||||
- run: nix build
|
||||
- run: nix build .#ui -L
|
||||
- name: Publish to Cloudflare Pages
|
||||
if: github.event_name == 'push'
|
||||
uses: cloudflare/pages-action@1
|
||||
@ -29,7 +29,7 @@ jobs:
|
||||
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
||||
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
|
||||
projectName: ${{ env.cloudflare_project }}
|
||||
directory: ./result/static
|
||||
directory: ./result/lib/node_modules/noogle/out
|
||||
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Publish to Cloudflare Pages
|
||||
id: publish
|
||||
@ -39,7 +39,7 @@ jobs:
|
||||
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
||||
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
|
||||
projectName: noogle
|
||||
directory: ./result/static
|
||||
directory: ./result/lib/node_modules/noogle/out
|
||||
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
|
||||
branch: pr-${{ github.event.pull_request.number }}
|
||||
- uses: peter-evans/create-or-update-comment@v3
|
||||
|
Loading…
Reference in New Issue
Block a user