mirror of
https://github.com/nix-community/noogle.git
synced 2024-11-23 00:33:12 +03:00
add cachix auth config
This commit is contained in:
parent
6a7609c2d0
commit
8c34268b9c
9
.github/workflows/main.yml
vendored
9
.github/workflows/main.yml
vendored
@ -16,16 +16,17 @@ jobs:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: cachix/install-nix-action@v18
|
||||
- uses: cachix/cachix-action@v11
|
||||
- run: nix build
|
||||
- name: Publish to Cloudflare Pages
|
||||
if: github.event_name == 'push'
|
||||
uses: cloudflare/pages-action@1
|
||||
with:
|
||||
name: noogle
|
||||
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
||||
nix_path: nixpkgs=channel:nixos-unstable
|
||||
extra_nix_config: |
|
||||
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
|
||||
- run: nix build
|
||||
- name: Publish to Cloudflare Pages
|
||||
if: github.event_name == 'push'
|
||||
uses: cloudflare/pages-action@1
|
||||
with:
|
||||
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
||||
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
|
||||
projectName: ${{ env.cloudflare_project }}
|
||||
|
Loading…
Reference in New Issue
Block a user